Skip to main content

Dexterous hand and data-glove drivers for RLinf

Project description

RLinf-dexterous-hands

Dexterous hand and data-glove drivers for RLinf.

Includes drivers for:

  • Ruiyan five-finger dexterous hand (custom serial protocol)
  • Aoyi five-finger dexterous hand (Modbus RTU)
  • PSI data-glove (serial + calibration + filtering)

Installation

# Base (Ruiyan hand only — needs numpy + pyserial)
pip install RLinf-dexterous-hands

# With glove support (adds pyyaml)
pip install "RLinf-dexterous-hands[glove]"

# With Aoyi hand support (adds pymodbus)
pip install "RLinf-dexterous-hands[aoyi]"

# Everything
pip install "RLinf-dexterous-hands[all]"

Usage

# Ruiyan hand
from rlinf_dexhand.ruiyan import RuiyanHandDriver

hand = RuiyanHandDriver(port="/dev/ttyUSB0")
hand.initialize()
state = hand.get_state()   # np.ndarray (6,), [0, 1]
hand.command(state)
hand.shutdown()

# Aoyi hand
from rlinf_dexhand.aoyi import AoyiHandDriver

hand = AoyiHandDriver(port="/dev/ttyUSB0", node_id=2)
hand.initialize()
state = hand.get_state()
hand.command(state)
hand.shutdown()

# PSI data-glove
from rlinf_dexhand.glove import GloveExpert

expert = GloveExpert(left_port="/dev/ttyACM0", right_port=None)
angles = expert.get_angles()   # np.ndarray (6,), [0, 1]
expert.close()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rlinf_dexterous_hands-0.1.0.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rlinf_dexterous_hands-0.1.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file rlinf_dexterous_hands-0.1.0.tar.gz.

File metadata

  • Download URL: rlinf_dexterous_hands-0.1.0.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for rlinf_dexterous_hands-0.1.0.tar.gz
Algorithm Hash digest
SHA256 accaade30a6a0cba341f106e068e795977a60ac8686c129227269868725de804
MD5 18681f4b3b8f19852931d8e9c2074ff4
BLAKE2b-256 eae9e1f379d3fcf82c580167c5c17b170a5cc631fb9253c17f5cee2a4072bb89

See more details on using hashes here.

File details

Details for the file rlinf_dexterous_hands-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rlinf_dexterous_hands-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d67354e6afb0392856591baa9bb5f535e03e72cdcd3f0e8105b4dc540ea8e2ff
MD5 69bd6a7270295e39504d53c9e2ea3ebd
BLAKE2b-256 37eebc9fd09b69e313bd2fbecb5f2bcfbdb9c1b0f782d1e86280086e827bced4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page