Python package for controlling MD80-based actuators
Project description
MD80 Python driver
This Python package allows to configure and control MD80-based actuators using MAB's USB-to-CAN dongle (CANdle). The package is just a wrapper around the C++ libraries so there shouldn't be a hudge decrease in performance with simple python examples in comparison to plain C++.
The original C++ libraries, python examples and pybind configuration can be found here: https://github.com/mabrobotics/candle . Please make sure you read the "Dependencies", "USB Access", and "Latency and bandwith" before you start playing with the examples.
Getting started
Assuming you've already read the recommended chapters from previous section and performed the necessary setup steps now's the time to install pyCandle package:
python3 -m pip install pyCandleMAB
when the package is installed without errors connect CANdle device to your PC and run the first example:
python3 ./example1.py
when a signle actuator is connected to the dongle the console output should look simmilar to:
[CANDLE] Creating CANdle object.
[CANDLE] Reset successfull!
[CANDLE] CANdle ready.
[CANDLE] Starting pinging drives...
[CANDLE] Found drives.
[CANDLE] 1: ID = 85 (0x55)
[CANDLE] LEDs blining at ID = 85
EXIT SUCCESS
For more examples visit: https://github.com/mabrobotics/candle
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pyCandleMAB-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a5a89634ff470d0e2f7c8f01420c2e667916ef12a62c4893cfe0bdde31473c |
|
MD5 | 10692792dd968957f30f2e2b28f6160c |
|
BLAKE2b-256 | 1b7c1b0cceb248ff4a54ef3c6d2d7d4afe826955e7714172138d1aeb77c1b5cc |