Skip to main content

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:

License

Python & Pypi:

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)

Uploaded Source

Built Distribution

pymixel-1.0.0-py3-none-any.whl (19.2 kB view hashes)

Uploaded Python 3

Supported by

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