Dynamixel X Python Package
Project description
Pymixel
Pymixel
is a simple and easy way to deal with the Dynamixel X Series. It's fast and based on the DynamixelSDK
.
Features:
- fast and easy to understand
- support for group writes
- most of the common features implemented
- DynamixelSDK as dependency
License:
Python & Pypi:
Install & Upgrade:
# install via pypi
pip3 install pymixel
# upgrade
pip3 install --upgrade pymixel
Import:
from pymixel import Dynamixel
Usage:
Examples:
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
...
Author:
👨🏼💻 Vinzenz Weist
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
pymixel-1.0.0.tar.gz
(18.7 kB
view hashes)
Built Distribution
pymixel-1.0.0-py3-none-any.whl
(19.2 kB
view hashes)