Minimal pyproject for the net_franky package
Project description
๐ค net_franky
Use the Franky library from non-realtime Machines.
๐๏ธ How it works
โโโโโโโโโโโโโโโ RPyC โโโโโโโโโโโโโโโ libfranka โโโโโโโโโโโโโโโ
โ Your Laptop โ โโโโโโโโโโโบ โ RT Server โ โโโโโโโโโโโโโโโบ โ Franka Robotโ
โ โ โ โ โ โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ
๐ฏ Key Benefits:
- ๐ Drop-in replacement for the franky library with function stubs
- โก Well proven - building on the common rpyc library
- ๐ Simple - 5 minutes to get started
๐ Quick Start
1. Server Setup (Real-time machine)
# One-time setup
mkdir ~/net_franky && cd ~/net_franky
python -m venv .venv && source .venv/bin/activate
pip install "net_franky[server] @ git+https://github.com/yblei/net_franky.git"
2. Start server (Run in tmux/screen)
rpyc_classic -p 18812 --host 0.0.0.0
3. Client Usage (Your laptop)
pip install 'git+https://github.com/yblei/net_franky.git'
from net_franky import setup_net_franky
# Connect to remote server
setup_net_franky("server-ip", 18812)
from net_franky.franky import Robot
# Use exactly like local franky
robot = Robot("192.168.1.100")
robot.move_to([0.3, 0.4, 0.5])
That's it! ๐ Your robot code now runs remotely.
Only Deviation from franky: Wrapper around the robot class
Franky supports the registration of a callback function to a motion. This is useful to record trajectories or to stream pose information back for visualization. Since this function is called with 1000Hz and the calls are buffered, execution over the network leads to significant delays.
We therefore provide a pointer to the latest motion callback data in
robot_state, time_step, rel_time, abs_time, control_signal = robot.get_last_callback_data()
Warning: If you get segmentation faults, make sure you use the same version of python on the server and the client.
๐ค Contributing
We welcome contributions!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file net_franky-1.0.0.tar.gz.
File metadata
- Download URL: net_franky-1.0.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48571f39c2f3b4f3ebc449ee171513697e8913ca139ad99513d52dc628e0a233
|
|
| MD5 |
c738e159cf497e86334160833d853c2b
|
|
| BLAKE2b-256 |
72ceba4e21f3aa9c63276e84052dca80d24e8c6e0517896a409e7942228a150a
|
Provenance
The following attestation bundles were made for net_franky-1.0.0.tar.gz:
Publisher:
publish.yml on yblei/net_franky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
net_franky-1.0.0.tar.gz -
Subject digest:
48571f39c2f3b4f3ebc449ee171513697e8913ca139ad99513d52dc628e0a233 - Sigstore transparency entry: 760409517
- Sigstore integration time:
-
Permalink:
yblei/net_franky@ec12732e83eed6db3dafaa19286829e9324fdf83 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/yblei
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec12732e83eed6db3dafaa19286829e9324fdf83 -
Trigger Event:
release
-
Statement type:
File details
Details for the file net_franky-1.0.0-py3-none-any.whl.
File metadata
- Download URL: net_franky-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55a282752accab32904c19c1ec1bef577c7298160b68872f287bab192f556655
|
|
| MD5 |
92a39770465411502fa3b8a12cdb1c7d
|
|
| BLAKE2b-256 |
7315f56316f30480864efdf1df1deac2265926e41baf2e44dd4930c9f99d158e
|
Provenance
The following attestation bundles were made for net_franky-1.0.0-py3-none-any.whl:
Publisher:
publish.yml on yblei/net_franky
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
net_franky-1.0.0-py3-none-any.whl -
Subject digest:
55a282752accab32904c19c1ec1bef577c7298160b68872f287bab192f556655 - Sigstore transparency entry: 760409519
- Sigstore integration time:
-
Permalink:
yblei/net_franky@ec12732e83eed6db3dafaa19286829e9324fdf83 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/yblei
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec12732e83eed6db3dafaa19286829e9324fdf83 -
Trigger Event:
release
-
Statement type: