Skip to content

Python libraries for easy control of the Dynamixel-based OpenHand designs

Notifications You must be signed in to change notification settings

jbohren-forks/openhand-software

 
 

Repository files navigation

Yale OpenHand Project - Software

Python libraries for easy control of the Dynamixel-based OpenHand designs. These Python objects depend on a modified version of the 'lib_robotis.py' library from Georgia Tech. The library has been updated to properly control both MX and RX series servos, as well as accounting for possible header miscues as suggested by the pydynamixel library. Each hand object has pre-tested settings for servo bounds and torque output that we routinely use in our experiments. These values may vary for different hardware implementations or assembly processes.

We also provide a set of scripts to help with hobby servo control via Pololu Maestro boards, specifically the Power HD 1501MG servo for select designs that can utilize them. The Korg Nanokontrol board is also supported as an affordable controller for both Dynamixel and hobby servos.

OpenHand Website

======== Basic Usage:

python -i openhand.py

T = Model_T([port name], [main servo id]) T.close([desired torque for closing grasp (0.0-1.0)]) T.moveMotor([index of servo], [desired position (0.0-1.0)]) T.release()

T = Model_T42([port name], [servo #1 id], [servo #2 id], [Dynamixel series ("RX", "MX")]) T.close([desired tendon length for close (0.0-1.0)]) T.release()

========= Example Usage:

python -i openhand.py

T = Model_T("/dev/ttyUSB0",1) T.close(0.3) T.release()

T = Model_T42("/dev/ttyUSB0",6,7,"MX") T.close(0.6) T.release() T.moveMotor(0,0.6) T.moveMotor(1,0.6)

About

Python libraries for easy control of the Dynamixel-based OpenHand designs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%