You can use this helper instead of the Dynamixel-SDK to speed up your work.
Project description
Easy Dynamixel Helper
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
🚀 Getting Started
Prerequisites
You need to install the official Dynamixel SDK before using this helper.
Click here: Dynamixel SDK Installation
-
Clone the official SDK repository into your custom folder, for example, I created
~/lib.git clone https://github.com/ROBOTIS-GIT/DynamixelSDK.git
-
Go into the folder
/DynamixelSDK/pythonof your cloned SDK.cd ${your_download_path}/DynamixelSDK/python
-
Run
setup.pyas 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
🚩 Release Notes
💌 Contributing
- We will welcome whatever your contribution is!
- If you are planning to send a new
Pull request, please send them into thedevelopBranch.😍
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.
- Dynamixel SDK is under the Apache-2.0
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynamixel_helper-0.0.0.tar.gz.
File metadata
- Download URL: dynamixel_helper-0.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2975253a7c9af3d3225909c1cdb867a337dc6550595ffa76edb2a3037ed2224d
|
|
| MD5 |
16f0dc61aaa34b7f9c5fa9bc0d63d7af
|
|
| BLAKE2b-256 |
eb49e1bc299937d3d04ff18baf8795b31ae226eb22da3c141eb3bedf231bded7
|
File details
Details for the file dynamixel_helper-0.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: dynamixel_helper-0.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf83f1376a8027b1c40710fda34bc9c4cc323466a19da20ce98cf313899e943
|
|
| MD5 |
21151165aad2152a7af41c4d2abd346a
|
|
| BLAKE2b-256 |
cb4bbda8b615f23e1d60caec0c02f302e88a2e5479c637bba1a68b4dfab2b7fc
|