Skip to main content

Python package for controlling MD80-based actuators

Project description

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/pyCandle/examples

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

pyCandleMAB-1.4.0.tar.gz (738.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyCandleMAB-1.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195.4 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp311-cp311-musllinux_1_1_x86_64.whl (720.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp310-cp310-musllinux_1_1_x86_64.whl (720.4 kB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp39-cp39-musllinux_1_1_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp38-cp38-musllinux_1_1_x86_64.whl (720.6 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl (726.7 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201.4 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.4.0-cp36-cp36m-musllinux_1_1_x86_64.whl (726.6 kB view details)

Uploaded CPython 3.6mmusllinux: musl 1.1+ x86-64

pyCandleMAB-1.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201.1 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file pyCandleMAB-1.4.0.tar.gz.

File metadata

  • Download URL: pyCandleMAB-1.4.0.tar.gz
  • Upload date:
  • Size: 738.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for pyCandleMAB-1.4.0.tar.gz
Algorithm Hash digest
SHA256 6b693ddac96ae97e7eeb688d6367ae99fed1ff3827ebad7f66cb89cf49f8fec6
MD5 595a71a269519e08a01dfb8a50c52171
BLAKE2b-256 66b75407e867a02dec18cfed8d718793930a8d5a2ccbb7e0218ab22d983e0958

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e8d9dd222915da5c0a0ef39624b51f9a4068a333633464e65164e80d7b3c3181
MD5 b9a53d10b859297cf250de8f85f52ea5
BLAKE2b-256 8f9874219e01e76e0873fe4247f1789849b6cefc34c3eebe6e4a3fef27b06ac9

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2bda5bbaaa427164d41f82b646374c72dea345b50e944f19e61cae14150ba71a
MD5 f2863e1e367cbe6504a8b11e9d1d5dc6
BLAKE2b-256 6d89d72c5f1dc20579490aa53436532a9372301205e7307be4eb1f10570d6c6e

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb962a000ecb518fd7657051a3cb89f356d4fc4415c8f872aec309a0ae2844d4
MD5 d84aa83b750da97e6479bf9bcf8dd6a2
BLAKE2b-256 2e9d61e3c693ec85101b6bebab1bc24714790b46ea9f387576de4b9ca421c461

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5fcb36fb33ed352c95f94d62de244b74f0cc870f6244e5438889019785392588
MD5 a75e05aac943a408255729ab6b0ec8f5
BLAKE2b-256 a9f6a898bbf4639de9de687e0bc2a7142d781740e2739aaa25b92e0f652fa93f

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2dc8961d638e94e1f25b8e85bbe4d4e7dc881e6e45a335d0a69142c41f49898a
MD5 f3d6f31ec6b77722d96067c12b5a93f7
BLAKE2b-256 b386326e9a8ecbe446556d2924de2f9efb68cafc2bc7674a54bca980e4f18dd8

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3a4efbb19862c7247a5f500a2f3e3330679cb4535c0ce1d93665960fb0913b2c
MD5 09e145c7fb155921b94ae02734b47946
BLAKE2b-256 abb27ec0f4fea5746a9582e76d3af44aa55c91d52be35ec80a11d53ddc416d36

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42abd1879c718b19a91628ee44be1630d456b8ded93caeb0870c044a2bb17a70
MD5 c199d82d9c5a82130392a5aec8236f1b
BLAKE2b-256 e4d7533f321b9743fee5e4ac88475d361caf9ea542c929a01bbc4278e4c059f7

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 74745fc8a0501d7ae47fe450b9119f2bf866d87226db0d9427c040e3b919ce3f
MD5 9f3e0c23cb810a05e11517a0bcbe4d2f
BLAKE2b-256 57fa68ff185721c803f993b23089e78594bf872ebe2f82b14074ff9d6872f1de

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5e4b0199cce1daf517a1bd9be5c5c9d29f54bdcc03a3c3e6c0d966fd44ca878d
MD5 ac1431fb15861ba61dbc78d0ce74cbb7
BLAKE2b-256 777221bb4eaa393515fb051a8d5698dbe6c76bf17b51830f855bf103cb484396

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4eef81220960d910c28531d4645fb261e7c87039ad9188202b5aa4c3611f2d4f
MD5 731d2899dd8b82a825d08b0b9b593128
BLAKE2b-256 79aeece99280b3db878aa87044ca7fdab9962f660173f8e6b3fb8fd043d499c8

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 62831997996629d3a86eaa19204caaf03416acf6ca170f3fb94d2f9e5b570c4a
MD5 5d7bdbb4005fc4a479c68eede9c394ee
BLAKE2b-256 62e00834b10c105501a666979f4beef85e3f139df226b5ba6186e7d47709d37f

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 768cbb47cdb3f52a5c073ca85fdc2525fc5778e6f772d909905a75325e50227f
MD5 8e8b248bcc946b217a638e26f273a976
BLAKE2b-256 6af568699eb225aec5a48086a2c1f48ffee960048b0b0f1809f63edf2037b93a

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e753904ae6cd4c5c2fec08f4f42aaa00cb28d31d35f206e468cb39a98547110
MD5 15e5ae4def5743bf12ed7aaa7f1f2f07
BLAKE2b-256 a02f108be764d21958075bea1198c5064830307210a26f85bd6704d097fa250b

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp36-cp36m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dba45613dc49acae103f548c35a7f001d75c251ae1af720de412b9998bbb3e6b
MD5 ea88b775ced2503b523a3f2fb2cc84bd
BLAKE2b-256 076db585db5ebe3b4eb55aa72e2adb12b6f172b24b9c290a62ea5db2e01e08ed

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.4.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d63198429ae366babe6a606d63770e4fb83589d0c0f8426666b2cd8699a061b
MD5 dfd31f1ea43503281319a51bd4d4d563
BLAKE2b-256 3985d6fd4fd29f0a49a0b19f1d65a5caa48e1e88ca16ee7f72a6468df83eb12a

See more details on using hashes here.

Supported by

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