Skip to main content

Dynamixel Helper

PyPI Total Downloads PyPI - Downloads GitHub

🌏 English | 한국어

This helper is a wrapper for the Dynamixel-SDK. With this, configure and drive your motor more quickly. You do not need to know how the SDK works. In other words, this helper makes it easy to modify the control table.

pip install dynamixel_helper --user

Table of Contents

  1. Features
  2. Simple Example
  3. Getting Started
    1. Prerequisites
    2. Installation
  4. Tutorials
  5. Release Notes
  6. Current Coverage
    1. Model List
    2. Control Table
  7. Contributing
    1. Style Guide
  8. Maintainers
  9. Licenses

💎 Features

  • Baud rate auto-matching
  • Protocol auto-matching
  • Port auto-matching (Easy connections in multi-USB)
  • Motor configurations in JSON format
  • Support for Python 3 and 2
  • Make your code simple and clean
  • Easy to use even for beginners.

🐣 Simple Example

The following code is an example of turning on the motor torque.

from dynamixel_helper import DxlHelper

helper = DxlHelper("preset/{my_robot}.json")
motor = helper.get_motor(0)  # id: 0
motor.set_torque(True)

🚀 Getting Started

Prerequisites

  1. pip (package manager)

    # Python 2
    sudo apt install python-pip
    python -m pip install -U pip
    # Python 3
    sudo apt install python3-pip
    python3 -m pip install -U pip
    
  2. Dynamixel SDK

    CAUTION💥: Please install the pip before installing the Dynamixel SDK. Otherwise, when you install this Dynamixel Helper, you will get an dependency error of Dynamixel SDK.

    You need to install the official Dynamixel SDK before using this helper.

    Click here: Dynamixel SDK Installation

    1. Clone the official SDK repository into your custom folder, for example, I created ~/lib.

      git clone https://github.com/ROBOTIS-GIT/DynamixelSDK.git
      
    2. Go into the folder /DynamixelSDK/python of your cloned SDK.

      cd ${your_download_path}/DynamixelSDK/python
      
    3. Run setup.py with --user option to install the library. Administrator privileges, a.k.a. sudo, are not recommended. More information here.

      python setup.py install --user
      

Installation

Simply type pip command below to install this helper.

pip install dynamixel_helper --user

🌱 Tutorials

Go to tutorials

🚩 Release Notes

Go to release notes

🔭 Current Coverage

Model List

Control Table

Different models have slightly different control tables. Please check the documentation for each model. Just click the model name above to go to the document.

  • EEPROM section
    • drive mode (w)
    • operating mode (w)
  • RAM section
    • torque (r/w)
    • goal velocity (w)
    • goal position (w)
    • present velocity (r)
    • present position (r)

💌 Contributing

  • We will welcome whatever your contribution is!
  • If you are planning to send a new Pull request, please send them into the develop Branch.😍

Style Guide

This style guide is only a recommendation, never more important than your interest and contributions.

  • Our default Python style is PEP 8.

  • If you use VSCode as your code editor, please refer to the following settings. This setting is a part of our setting.json.

    {
        "editor.tabSize": 4,
        "[json]": {
            "editor.tabSize": 2
        },
        "python.linting.pylintEnabled": false,
        "python.linting.pep8Enabled": true,
        "python.linting.enabled": true
    }
    

🔧 Maintainers

📜 Licenses

The contents of this repository are subject to the MIT License by default, except as noted below.

Metadata

Release files for dynamixel_helper 1.0.3

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

Source distribution (sdist)

Source distribution for dynamixel_helper 1.0.3
File Size Uploaded
dynamixel_helper-1.0.3.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dynamixel_helper 1.0.3
File Interpreter ABI Platform
dynamixel_helper-1.0.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 27.4 kB

Release files / dynamixel_helper-1.0.3.tar.gz

Download URL dynamixel_helper-1.0.3.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d9fc5733c40106ab078bd386937f90c8f98736ebed6c6049dc46213b22f1c278
BLAKE2b-256 checksum
How to use checksums
6a3b9a886489209e8af832e3ff54062c75485c372b196c6e8b2592a629cb1363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release files / dynamixel_helper-1.0.3-py2.py3-none-any.whl

Download URL dynamixel_helper-1.0.3-py2.py3-none-any.whl
Size 14.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
363583f66f6e647312e8e091969d32bfae816b6e2e2cd76086023fa313a9abe1
BLAKE2b-256 checksum
How to use checksums
f922753f050158b6a470749228c82fbfb9c3bb02400bad12b1cb00da04fcae37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.0

2 release files

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