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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dynamixel_python-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 f71e7c989c371123fa5710e37a0ada81823de50b65f0c078147f1895de80d32e
MD5 6d105c5de598c4fa7478223239f851e4
BLAKE2b-256 5993da414c6c25c52d5ae5ebf71eebbd2d9beb90bef2d5565322f362686b6164

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamixel_python-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fdcb197f5f7b6a832a9044bd45cb2b9fb23164b3bb9df8adca19ea1f4cc9b63e
MD5 a24b554988a7642b9bbf49b9a5bf4816
BLAKE2b-256 e11074e7125b5b686f658f77f6960ebd1949b00b172101d150c60532e545143c

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