Skip to main content

Pynamixel is a Python (2.7+ and 3.4+) library to use Robotis Dynamixel servos. It supports several hardwares (see below) and adding a new one is easy. It provides different layers allowing very precise control as well as a greater abstraction.

It’s licensed under the MIT license. It’s available on the Python package index, its documentation is hosted by Python and its source code is on GitHub.

It’s currently in a very early stage, and you should use it only if you’ve read the code and are satisfied with what it does.

Questions? Remarks? Bugs? Want to contribute? Open an issue!

https://img.shields.io/travis/jacquev6/Pynamixel/master.svg https://img.shields.io/coveralls/jacquev6/Pynamixel/master.svg https://img.shields.io/codeclimate/github/jacquev6/Pynamixel.svg https://img.shields.io/scrutinizer/g/jacquev6/Pynamixel.svg https://img.shields.io/pypi/dm/Pynamixel.svg https://img.shields.io/pypi/l/Pynamixel.svg https://img.shields.io/pypi/v/Pynamixel.svg https://img.shields.io/pypi/pyversions/Pynamixel.svg https://img.shields.io/pypi/status/Pynamixel.svg https://img.shields.io/github/issues/jacquev6/Pynamixel.svg https://badge.waffle.io/jacquev6/Pynamixel.png?label=ready&title=ready https://img.shields.io/github/forks/jacquev6/Pynamixel.svg https://img.shields.io/github/stars/jacquev6/Pynamixel.svg

Supported hardwares

“Full support” means on Windows, Linux and Mac OS X, with both Python 2.7+ and 3.4+.

  • USB2AX: full support

  • USB2Dynamixel: not yet

Quick start

Install from PyPI:

$ pip install Pynamixel

Import:

>>> import Pynamixel

Create a hardware:

>>> hardware = Pynamixel.hardwares.USB2AX("/dev/ttyACM0", 1000000)

Create a system and a device:

>>> system = Pynamixel.System(Pynamixel.Bus(hardware))
>>> servo = system.add_device(Pynamixel.devices.AX12, 1)

Set the servo’s goal position:

>>> servo.goal_position.write(0x200)

And see that it’s moving:

>>> servo.moving.read()
1

Release files for Pynamixel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pynamixel 0.1.0
File Size Uploaded
Pynamixel-0.1.0.tar.gz 11.7 kB Details

Release files / Pynamixel-0.1.0.tar.gz

Download URL Pynamixel-0.1.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a7562fd504c830e2ad48c8d39ec164208895c285bd700a0a4032575e3727de20
BLAKE2b-256 checksum
How to use checksums
1d998080dc34f013d1b52e8b9f90b216a3626538e08409ab614c69defe63d9a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page