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.4.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.4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for dynamixel_python-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f0cf2f3edda53682f497d473fd76108eaca2628b1f7c9046026d288d7ab266ab
MD5 e99cdc02846613e588ac7a31a7b9148b
BLAKE2b-256 4b05d96443f401348d4cd483d4ca2da75277c769ebac8394808dfaceb60c5fe9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamixel_python-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 86ed58dd37834eb72bf2af01bde96d8548a59907451cb6538959af35d9d08efb
MD5 6b578185e36334c530dddeebace92c4a
BLAKE2b-256 bbf9ddd478a43934bb9f59caead3d7359ae4cbd4e9bbe7f5c0a1ec4d10763942

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