Pymixel
is a simple and easy way to deal with the Dynamixel X Series. It's fast and based on the DynamixelSDK
.
- fast and easy to understand
- support for group writes
- most of the common features implemented
- DynamixelSDK as dependency
# install via pypi
pip3 install pymixel
# upgrade
pip3 install --upgrade pymixel
from pymixel import Dynamixel
from pymixel import Dynamixel
DXL_ID_ONE = 1 # dynamixel id
VELOCITY_MODE = 1 # velocity mode
dynamixel = Dynamixel() # create instance
dynamixel.open() # open serial communication
dynamixel.set_operating_mode(DXL_ID_ONE, VELOCITY_MODE) # set dynamixel mode
dynamixel.set_torque(DXL_ID_ONE, True) # enable torque
dynamixel.set_led(DXL_ID_ONE, True) # enable led
dynamixel.set_goal_velocity(DXL_ID_ONE, 100) # start moving
...
👨🏼💻 Vinzenz Weist