Skip to main content

A simple library for communicating with Dynamixel motors

Project description

Dynamixel Python

Dynamixel-Python is a simple library for communicating with Dynamixel motors. Both dynamixel protocol 1.0 and 2.0 is supported.

[!WARNING] Currently this library is under active development and the public api is likely to change.

Installation

This repo aims to support legacy python versions. Currently python 3.8+ is supported.

pip install dynamixel-python

Quickstart

from dxl2 import DynamixelSerialV2

port = DynamixelSerialV2("/dev/ttyUSB0")

# connect before use
port.connect()

info = port.ping(10)

# torque enable
port.write(dxl_id=10, address=64, length=1, value=1)

# move motors 1 and 2 to position 100
port.sync_write(dxl_ids=[1, 2], address=116, length=4, value=100)

# disconnect after use
port.disconnect()

All instructions are available as methods of DynamixelSerialV2 or DynamixelSerialV1 class.

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

dynamixel_python-0.0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

dynamixel_python-0.0.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file dynamixel_python-0.0.1.tar.gz.

File metadata

  • Download URL: dynamixel_python-0.0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for dynamixel_python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 68a65b7e87586fab5991832c82c1a9a99551a3c67008db8ee37a0046eba85637
MD5 39b2d2b0985d1acdf9cbd29a4d61fe61
BLAKE2b-256 dd76c7764207528832a97100da0ffab561c14131f2c5d857accdf6651e7a7494

See more details on using hashes here.

File details

Details for the file dynamixel_python-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamixel_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d86b3a6a92efc8681a6472bc0341174658d9bda8bfaa6a7f0127680cc9ea590
MD5 69d2a7a6ef8ff864656fbff1e7404a63
BLAKE2b-256 414ff3fb7c5a486f47e69478a84a2bae93fb1141f5d84c65658664d16ebfb19f

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