HEXFELLOW Robot Driver
Project description
HEXFELLOW ROBOT DRIVER
📖 Overview
What is hex_driver_robot
hex_driver_robot is a Python library for controlling HEXFELLOW robots with a unified interface. It supports the Hello Y6 (6‑DOF arm with 7‑DOF gripper), Archer Y6 (6‑DOF arm with optional gripper), and Firefly Y6 (6‑DOF arm with optional gripper) robot models. The library runs each robot controller in a separate process, streams robot states via shared‑memory ring buffers, and provides simple get_*_motor/set_*_mit_cmd APIs.
What problem it solves
- Unified robot interface: Use the same API for different robot models (Hello Y6, Archer Y6, Firefly Y6).
- Background control: Each robot controller runs in its own process; the main thread only reads the latest state when needed.
- Low‑latency sharing: States and commands are passed through shared‑memory ring buffers, avoiding serialization overhead.
- Real‑time control: Supports MIT (motor‑impedance‑torque) control mode with configurable gains for arm and gripper.
Target users
- Robotics researchers prototyping manipulation pipelines with HEXFELLOW robots.
- Developers who need a simple, consistent way to interface with real robot hardware.
- Anyone who wants to switch between different robot models without changing client code.
📦 Installation
Requirements
- Python ≥ 3.10
- OS:
Linux(macOS/Windows may work but are less tested) - Core dependencies:
hex_util_runtime≥ 0.0.0, < 0.1.0hex_device≥ 1.3.17, < 1.4.0
Install from PyPI
pip install hex_driver_robot
Install from Source
For those who need examples, you can install the package from source code with examples.
Note: We use uv to manage the Python environment. Please install it first.
-
Clone and install in editable mode. The
venv.shscript expects uv.git clone https://github.com/hexfellow/hex_driver_robot.git cd hex_driver_robot ./venv.sh
./venv.sh— creates.venv, installshex_driver_robotwith example dependencies../venv.sh --min— installs the core package only (without example dependencies). Some examples will not run../venv.sh --pkg-only— installs the package only, skips example-related dependencies.
-
Activate before running examples:
source .venv/bin/activate
📑 API
See API for details of all robot driver classes and parameters.
💡 Example
See Example for usage examples of each robot model.
📚 Citation
If you want to cite this project in your work, you can use the following BibTeX entry:
@software{hex_zmq_servers,
author = {Dong, Zhaorui and Chen, Zejun},
title = {Hex ZMQ Servers: A ZeroMQ-Based Embodied AI Communication Framework},
year = {2025},
publisher = {Zenodo},
version = {v1.0.0},
doi = {10.5281/zenodo.18309960},
url = {https://doi.org/10.5281/zenodo.18309960}
}
📄 License
Apache License 2.0. See LICENSE.
🌟 Star History
👥 Contributors
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 hex_driver_robot-0.0.1a1.tar.gz.
File metadata
- Download URL: hex_driver_robot-0.0.1a1.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4391ece6ec2c2aedefd217fe34abc9744ea35e633c5211a5fbd7892fae42b9a8
|
|
| MD5 |
b301d9248c00edac929aed2019e1797e
|
|
| BLAKE2b-256 |
1b8e8ee31eb7d4bc3d6d3ceed332bc6a6d3ec42ab15536f0329eb789b9adf2ed
|
File details
Details for the file hex_driver_robot-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: hex_driver_robot-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4598a9b70cad9ae1f9b52fb97c110cffed1ee9065a2783a01897a4ec7681cf9c
|
|
| MD5 |
0b05270ba96dc3e01d6fafabd4c9e9e7
|
|
| BLAKE2b-256 |
6bb1dbed7ddbe25a99a5c932c8e8b08b91bab8c3191404662dc55a28dd950ad0
|