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.3.32.tar.gz (738.1 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.3.32-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.3.32-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.3.32-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.3.32-cp311-cp311-musllinux_1_1_x86_64.whl (720.4 kB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (196.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-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.3.32-cp39-cp39-musllinux_1_1_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-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.3.32-cp38-cp38-musllinux_1_1_x86_64.whl (720.6 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-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.3.32-cp37-cp37m-musllinux_1_1_x86_64.whl (726.7 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-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.3.32-cp36-cp36m-musllinux_1_1_x86_64.whl (726.6 kB view details)

Uploaded CPython 3.6mmusllinux: musl 1.1+ x86-64

pyCandleMAB-1.3.32-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.3.32.tar.gz.

File metadata

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

File hashes

Hashes for pyCandleMAB-1.3.32.tar.gz
Algorithm Hash digest
SHA256 878c5e334af626537c17badb432fe09fefa47e7a4976deba66cb09a310b797f4
MD5 7e3a416d89db6d2ed24d4ac4dd017597
BLAKE2b-256 7a976874c691811507fad79749da0eda48abc35d731b79195f16d380db6ed697

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2a6b7739cb6173360a7f73aeca7d3a40bafb3e96775d891f48869298c4080906
MD5 2effe1e4e10991c6169987652560e046
BLAKE2b-256 f603f36bec7b8ad6e3d2f0c2074bb3ebb50ae0911900f368287a5052d2cbef92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e611c9b3b5218ade0db25febdcae041eac08b65f34d59a4f40f1d06008ebb769
MD5 73b9aed0037790a3350ad1ae0932c433
BLAKE2b-256 f6faf9a4982929e5ae1e60863ac9ec72f4debd5dbb4c90f1e4fd2fd1bfdc7201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6e9cf338049b92f9f4a6d8c04eaa1c9192fdb0990f86ce16dcc5ba4d1324dde2
MD5 250c43e84de958ac5aef2118def4fa53
BLAKE2b-256 fabb0f0129ab1463f9496f43636a21978c767e10ab22925a1a561a3f338f7c86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 25f97a27309917819fb8cd17cc8d8c912d19c6633e895412c0aac79bdf7eef8d
MD5 492dd284732cc61a054c21dd073fb249
BLAKE2b-256 a87be0e7e503656b97af36aa4781a9f1999a3b65f827c53809fa62035e848ba2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57cf51897909452d962bd1223f87343b0aa0d7872326ac41a9c40ab8cf67fae1
MD5 d72a7b899ced8858dce16d6221cb3f8b
BLAKE2b-256 9bcbe9dbd5508329fc40ae9ef2c875462b02e4c19994ee8ef1eabbfb5af34566

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 79bd0f1aaed4fabdee0d4a4264392862744e3b8ad610f0d04f717e1f235e379c
MD5 bf11246157a06dae59110356b7011ac4
BLAKE2b-256 64d3c024b197282f92467e71d7939b88434f0e33fc2a8ccd94184f7e283c5b30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b02d8396857f916938c643b7c84d1d537254d022a2dbc67a731a194b7aa43dcb
MD5 66bdbab3e44f875bd8ff71efde170f0a
BLAKE2b-256 06853f8d50e2f3904f49a1f229914c702a128509162f2d94e433173b243c5a84

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 903c20588fabb9f8a619a6a518ba5ea4c4be16102860d0cd2edde61f4c04bd78
MD5 d2b6fed2b2a630534bde0d3393bc0136
BLAKE2b-256 32a5c2a0ce4bf286c0e0046ffcee688c39004def2db876f5327f87106ad68018

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 65292d806e6d55068e15d7c69134cdb73d8e0780a4809c0d2a8cfa7cc7b61804
MD5 4f635ee2d9475615660acf6d652864ba
BLAKE2b-256 b587247310000d7a7eeaa80a00f3d8a6b4404c7c97119847298696378357f81f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8833fc2aea3690507a7b1a0840c9d1ab6797c1d963d46ae5082777a93d95e952
MD5 629087e5b25db3154f4152421870d1e4
BLAKE2b-256 c5d9aa5182389f841134760c64de096944a21a500b6c40b6921111735d61195c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f61a6bc10093a4e5137287a4a7fb9283edc14e323ad4b214d5e5e019b846cf63
MD5 508faaea5b5f27ac22dfbae8b69a80b8
BLAKE2b-256 5ca1816027f0c2aaf99ff1aabd0ee336c01633f06d6e91e2eb37b3c7b859e8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 860768be2a448da43209cd6d08936dc06efe743a5277e29644d214a104fd4821
MD5 762b662650699dfc2c4e1f761473c067
BLAKE2b-256 aa8bf39c1bf71945d223138fa5b3e9682166bf4d9d3c9fe83a11ce77341787c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b38d32a664b552adf5def997f60cdce16c90699aaedcd6416e3cc8b4b86c1a5
MD5 fc182c5975b55683f5098e4db4b451df
BLAKE2b-256 d8916584b485bab77b66823fde88804d85f78f09994612a3f65acecd93fece1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b62ff7166ba71e635a314e48bd77506bbf71ffdb73762e89ef3a1c08a6348c78
MD5 50e0204e654b472e583b6cb7137d4e04
BLAKE2b-256 3d13634d8daae2492ce9be0787bcc1e2f32dfcfdcf4d2e3a7209c2bb8360900e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.3.32-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc944fd6522a85ca03f689cbb3a8588bf99899432bb367c0124ce00bfaf89d7b
MD5 236f988b0c51c166b05c667bf0c471c9
BLAKE2b-256 e567c6745201d0f9943b524ae4ac9288d8108e36c2648012a177f52d3abbf291

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