Skip to main content

You can use this helper instead of the Dynamixel-SDK to speed up your work.

Project description

Easy Dynamixel Helper

PyPI GitHub code size in bytes CodeFactor 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.

Table of Contents

  1. Getting Started
    1. Prerequisites
    2. Installation
  2. Simple Example
  3. Features
  4. Tutorials
  5. Release Notes
  6. Contributing
    1. Style Guide
  7. Maintainers
  8. Licenses

🚀 Getting Started

Prerequisites

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 as administrator to install the library.

    sudo python setup.py install
    

Installation

Simply type pip command below to install this helper.

pip install dynamixel_helper --user

🐣 Simple Example

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

from dynamixel_helper import DxlHelper

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

💎 Features

  • Motor configurations in JSON format
  • Support for Python 3 and 2
  • Easy multiple USB connections

🌱 Tutorials

Go to tutorials

🚩 Release Notes

Go to release notes

💌 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.

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_helper-0.0.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

dynamixel_helper-0.0.0-py2.py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page