Frankz
Modern Python wrapper for Franka Research 3 robot control library.
Features
- Joint Motion: Move robot to specific joint configurations with smooth trajectories
- Trajectory Execution: Execute waypoint-based joint trajectories
- Cartesian Control: Move end-effector to target poses in Cartesian space
- Real-time Feedback: Monitor robot state and hardware status
Installation
pip install frankz
Requirements: Ubuntu 22.04/24.04, Python 3.9-3.12
Quick Start
Connect to your robot and move to a target pose:
import frankz
import numpy as np
# Your robot IP
robot_ip = "172.16.0.3"
# Check hardware status: is it realtime kernel? your ethernet is fast enough? (it will move)
if frankz.is_good_hardware(robot_ip):
print("Robot ready for operation")
# Get current end-effector pose
pose = frankz.get_current_ee_pose(robot_ip)
print(f"Current position: {pose[:3, 3]}")
# Move to target joint configuration
target_joints = np.array([0.0, -0.785, 0.0, -2.356, 0.0, 1.571, 0.785])
frankz.move_to_joint(target_joints, robot_ip, max_velocity_factor=0.5)
Motion Examples
Joint Space Motion
# Simple joint move with custom speed
frankz.move_to_joint(
target_joints,
robot_ip,
max_velocity_factor=0.3, # 30% of max velocity
max_acceleration_factor=0.3, # 30% of max acceleration
max_jerk_factor=0.3 # 30% of max jerk
)
Trajectory Following
# Execute multi-waypoint trajectory
waypoints = [
np.array([0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]),
np.array([0.5, -0.5, 0.5, -0.5, 0.5, -0.5, 0.5]),
np.array([0.0, -0.785, 0.0, -2.356, 0.0, 1.571, 0.785]),
]
frankz.move_joints_through_trajectory(waypoints, robot_ip)
Cartesian Motion
# Move end-effector to target pose
target_pose = np.eye(4)
target_pose[:3, 3] = [0.3, 0.0, 0.5] # Set target position
frankz.move_ee_to(
target_pose, robot_ip,
max_trans_velocity_factor=0.5, # Translation limits
max_trans_acceleration_factor=0.5,
max_trans_jerk_factor=0.5,
max_rot_velocity_factor=0.5, # Rotation limits
max_rot_acceleration_factor=0.5,
max_rot_jerk_factor=0.5
)
Version Compatibility
Frankz version follows libfranka versioning:
0.19.0.Xcorresponds to libfranka 0.19.00.20.0.Xcorresponds to libfranka 0.20.0
The fourth digit represents the frankz patch level for that libfranka version.
License
Apache 2.0
Metadata
Release files for frankz 0.19.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| frankz-0.19.0.8-cp312-cp312-manylinux_2_39_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ x86-64 | Details for frankz-0.19.0.8-cp312-cp312-manylinux_2_39_x86_64.whl |
| frankz-0.19.0.8-cp311-cp311-manylinux_2_39_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.39+ x86-64 | Details for frankz-0.19.0.8-cp311-cp311-manylinux_2_39_x86_64.whl |
| frankz-0.19.0.8-cp310-cp310-manylinux_2_39_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.39+ x86-64 | Details for frankz-0.19.0.8-cp310-cp310-manylinux_2_39_x86_64.whl |
| frankz-0.19.0.8-cp39-cp39-manylinux_2_39_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.39+ x86-64 | Details for frankz-0.19.0.8-cp39-cp39-manylinux_2_39_x86_64.whl |
Total release size: 42.6 MB
Release files / frankz-0.19.0.8-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | frankz-0.19.0.8-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 10.6 MB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
ac3108ce2c0010ef97e5c956dad6c5b2b89abbe4eca68b51fb7e1f47149798c8
|
|
BLAKE2b-256 checksum How to use checksums |
fbb079012c9ed1b992d489ef24d92f3c772c06674181854b0ecd636d80b33cf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / frankz-0.19.0.8-cp311-cp311-manylinux_2_39_x86_64.whl
| Download URL | frankz-0.19.0.8-cp311-cp311-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 10.6 MB |
| Tags | CPython 3.11 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
44d5b8258a159f8597ff7b7da38d399851e38ebf62b98aa6544c34d8728352df
|
|
BLAKE2b-256 checksum How to use checksums |
bd8d40cef05762f4fb6d05fee40da0a9d401243376e035ed41ceec167ad26628
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / frankz-0.19.0.8-cp310-cp310-manylinux_2_39_x86_64.whl
| Download URL | frankz-0.19.0.8-cp310-cp310-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 10.6 MB |
| Tags | CPython 3.10 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
3df4a843040399cd0ac660b96607ead99a9dae8839d0521909bff6db1a71bc27
|
|
BLAKE2b-256 checksum How to use checksums |
85629588cb623892c64c7777cfae8b4573b64150078f939687b1060991b5786d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / frankz-0.19.0.8-cp39-cp39-manylinux_2_39_x86_64.whl
| Download URL | frankz-0.19.0.8-cp39-cp39-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 10.6 MB |
| Tags | CPython 3.9 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
fc2f3c20cf1edba998e2f47f187644dfad3de6de41e292cfdd50442051cee949
|
|
BLAKE2b-256 checksum How to use checksums |
48a343fdd9daf00b0249d4717b307dcb81b46f37269908f64d3b3d534564c5f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for frankz 0.19.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.