Python Dynamixel
Python package to use Dynamixel servos through a serial interface (unofficial, easier SDK).
Post-creation
read the docs
ça a buggé, j’ai créé le projet à la main, et ensuite tout a fonctionné
pepy.tech
Documentation
The full documentation can be read at https://pydxl.readthedocs.io.
Example code:
import time
from pydxl import Mx28, SerialLink
link = SerialLink(
device="/dev/ttyUSB0", baudrate=1_000_000, protocol_version=1.0
)
servo = Mx28(identifier=1, serial_link=link)
servo.ping()
servo.led = True
servo.torque_enable = True
servo.goal_position = 2000
print(servo.goal_position)
time.sleep(3)
servo.goal_position = 1500
time.sleep(3)
servo.torque_enable = False
link.close()
Features
Use protocol 1.0 through a serial link, known to work with:
U2D2
Support servos:
MX-28
TODO: implement protocol 2.0
TODO: add more servo types
License
BSD 3-Clause license, feel free to contribute: https://pydxl.readthedocs.io/en/latest/contributing.html.
History
2019.3.19
Full support of MX-28 servo with protocol 1.0
2019.3.17 (2019-03-18)
First release on PyPI.
Metadata
Release files for pydxl 2019.3.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydxl-2019.3.19.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydxl-2019.3.19-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 28.2 kB
Release files / pydxl-2019.3.19.tar.gz
| Download URL | pydxl-2019.3.19.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11b1e15a4ae47b49c779938753c54fa55a999f328ce82de8cbedbafc5bbeed32
|
|
BLAKE2b-256 checksum How to use checksums |
9c1e78e6d7cf9272f83efabd518793e703c5aa5133e1e5fac0d33575d3e545f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / pydxl-2019.3.19-py2.py3-none-any.whl
| Download URL | pydxl-2019.3.19-py2.py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9f3c5c1bab0216853b5217adc871dd5ce09298c8baba0e7631023a6e6a4f3561
|
|
BLAKE2b-256 checksum How to use checksums |
8f645758f4a886acb16c283fa0958c645bf4a78be62dd330300d7802775f5e2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|