MD80 Python driver
This Python package can be used to configure and control MD80-based actuators using MAB's communication dongle (CANdle or CANdle HAT). The package is a wrapper around the C++ library - with simple python examples there won’t be any noticeable performance decrease compared to plain C++, however for real-time applications we advise using C++ libraries directly.
The original C++ libraries and python examples are located in the candle repository. Please make sure you read the MD80 x CANdle manual before you start playing with the examples.
Getting started
Assuming you've already read the manual from previous section and performed the necessary setup steps now's the time to install pyCandle package:
python3 -m pip install pyCandleMAB
or when you're working with Raspberry PI:
sudo 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/tree/main/examples_python
Release files for pyCandleMAB 1.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycandlemab-1.6.2.tar.gz | 1.3 MB | Details |
Built distributions (wheels)
Total release size: 13.3 MB
Release files / pycandlemab-1.6.2.tar.gz
| Download URL | pycandlemab-1.6.2.tar.gz |
|---|---|
| Size | 1.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6220de976cb11cddccefa347b47c06fdcc325e5e2eca07e67f6e65065c5da3b
|
|
BLAKE2b-256 checksum How to use checksums |
eeebbb8b489337946253aa62f8ce6b3c1ee80c89b58895e580fac9bd754faa10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 705.8 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1eae59a9cd7696bb365fb1acbc37890026f8a37091b4375bdbad19989010f58
|
|
BLAKE2b-256 checksum How to use checksums |
74ad74a56ebfcd2eb9da8df5d6a3ba0ce023dca981ec6f147a47f1078412e213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 714.3 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
2391305ded8a5d73a21ddb8caa1d2134b248207715caaa25875589d1ad7c7f8d
|
|
BLAKE2b-256 checksum How to use checksums |
69d6921d7a6a2526022b732c74d452a5f5e8cd987e69be2bd08cf7c49957e2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 704.9 kB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
4fb40947f758a379823429e84cb8e53287058cc4edf50198a027cdeabbe4df12
|
|
BLAKE2b-256 checksum How to use checksums |
1fc2a5208cb4c6345f9c29778db941184306753e62a685bc4d5d4e07f91d5bcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 714.0 kB |
| Tags | CPython 3.14 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
413e11c5d2565e9e3ccfb179fb449a164c7d43baadb1d8d3401947e5189fe4b4
|
|
BLAKE2b-256 checksum How to use checksums |
1a1ec23234d90cfbc897958df53f51053c67561645c2294f1d76005037d4f747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 704.1 kB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
b2122365073183e1210793acf94fb55b2c65178fd674671c503058540da6faa8
|
|
BLAKE2b-256 checksum How to use checksums |
22b95f4561465cc5dfe33608c3368dc83e41a8cff0eb5876277605bfeeb1a6ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 713.6 kB |
| Tags | CPython 3.13 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
51dc5238ab6a392674d36e2b1b33c8acbde02a7fa39da78bd9276751e924cf86
|
|
BLAKE2b-256 checksum How to use checksums |
29f6063330577f907764d943851655abb2bf4e41641898e1bf5131ffd0cbccc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 704.1 kB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
4fd95a5f4566e7d1813195e71b02b2ee508edeaeafc4bc57e3886bb3bfb58e69
|
|
BLAKE2b-256 checksum How to use checksums |
843c45393bfc46d1bf008a13ae35ce1a4d968d1c5fdff976c3f4a6180c0784af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp312-cp312-manylinux_2_38_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp312-cp312-manylinux_2_38_x86_64.whl |
|---|---|
| Size | 687.1 kB |
| Tags | CPython 3.12 Linux glibc 2.38+ x86-64 |
|
SHA-256 checksum How to use checksums |
2f83f659e4543eb405f409dc6ee67fe4126398f3c08c869f4a997e25e4b7d2c6
|
|
BLAKE2b-256 checksum How to use checksums |
685076d2731033d3956774f954fc23e3635628d4c0ab2abbd9c6827e4263421d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 713.8 kB |
| Tags | CPython 3.12 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ab72349e712b69539ce453dc8dba8bcd49d562eefc6312334e1d642cb1cbc765
|
|
BLAKE2b-256 checksum How to use checksums |
0cee42949ea0c25223847c4ecb200b548ef70c54c3ca209890e00516241eed13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 702.5 kB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
514d4ed4d81d5269659a99b9b67defcce7bfdf894f08c135beb520c65d4433a3
|
|
BLAKE2b-256 checksum How to use checksums |
43e69fb99e2a17b97978f72a893e476a476724f1eb6005c825626de8808d04bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 712.0 kB |
| Tags | CPython 3.11 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
b02c6d379c5c9c38c1b6fe97863ababb9fc929dc3995f8ab0bdeba21e8360348
|
|
BLAKE2b-256 checksum How to use checksums |
fd20fcdbd56e89073c3a99ecb06427207b4085823689f1ce88d18a40350915f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 701.4 kB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
e043c1acb094f1941289b176f3a1d7815ec5213bcbcef4fe40dd52bdf3011e54
|
|
BLAKE2b-256 checksum How to use checksums |
a6b90f1f9d49caeb9e547ac316aff32153ecdf3e9222dfd2e3a1ebff2c03d8b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 710.5 kB |
| Tags | CPython 3.10 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
da8e85a0afa633cc35788024d0b52c55e5fdcf25aa9bc972bb72c1802adefe97
|
|
BLAKE2b-256 checksum How to use checksums |
536e8fe34d49e7c6655d769af3996ec006985d571da1d4a14c36c37a39929e49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 701.7 kB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
a4d61d06b964a3bf4e9a5ea57d7f81c0c59f7ed0dbfa927fee57bb391e1546a1
|
|
BLAKE2b-256 checksum How to use checksums |
347bcc31904d1455680410f99b85227c4288badb98ef08c3de04fe960de73066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 710.8 kB |
| Tags | CPython 3.9 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
84c0dd32717a9a863edceb090a047a055b85290330a65b18451041cdaf748bfc
|
|
BLAKE2b-256 checksum How to use checksums |
f54ae86e6eeb9f70b3f950897f002078e01283be608a6470a48e43c2de799601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp38-cp38-musllinux_1_2_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp38-cp38-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 701.0 kB |
| Tags | CPython 3.8 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
67e5afde59f77216b573827fcc0610385b69f83b8980d48e901d66c28be9b2f2
|
|
BLAKE2b-256 checksum How to use checksums |
200a31fd8182961405ad41f61fd90ebfd9c975b0e71997dbb5317cdb1f12638e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pycandlemab-1.6.2-cp38-cp38-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pycandlemab-1.6.2-cp38-cp38-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 710.1 kB |
| Tags | CPython 3.8 Linux glibc 2.26+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
860b9e3764ba157a315d269ba9ca4fb18b96bc7f8195403de336c040d6d2fae9
|
|
BLAKE2b-256 checksum How to use checksums |
3a4926517f3b5acbf00083e5ac4cdb0074f2b316e9531590d44f9f5511eed32d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|