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/examples_python

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.6.0.tar.gz (742.3 kB view details)

Uploaded Source

Built Distributions

pyCandleMAB-1.6.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.1 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp312-cp312-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (197.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp311-cp311-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp310-cp310-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp39-cp39-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199.1 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp38-cp38-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (198.6 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp37-cp37m-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.7mmusllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (203.6 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pyCandleMAB-1.6.0-cp36-cp36m-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.6mmusllinux: musl 1.2+ x86-64

pyCandleMAB-1.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (203.8 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file pycandlemab-1.6.0.tar.gz.

File metadata

  • Download URL: pycandlemab-1.6.0.tar.gz
  • Upload date:
  • Size: 742.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pycandlemab-1.6.0.tar.gz
Algorithm Hash digest
SHA256 46a27f9c0950670bffc28289aa4d66cadbab672dd383c37a64c1e325c9df321d
MD5 11fc530e8dd0a4a90140e6fdf876ffae
BLAKE2b-256 185ebd80ea13e1d7eca1029f50d98ea58c6b7a92a67ea1b6703e8c796099dbb9

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 92ff9906b5d90baac72422b898d167d3d70344b61b6220d224fbaf99945f8edf
MD5 96b7246e7042a2f5eed050d16cebb29a
BLAKE2b-256 5259253ca48ec99b0aaca9989081e003af5e1b3398e815813a5915fc35dadd4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 50abbf31d7a3523140b6ab872e62258e03753c9e18133fb00e58b6fa7fb1202f
MD5 981f47d1a00f56aa2f548786a712ddde
BLAKE2b-256 4cd31980be6c00ea2ce421eb7fbf94d780f90f2adb1dc6cd8547accb80e362eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ff18be4febea3589b817f729fd35c8dd6d6520ec2d86f2598ae67aa7a7270615
MD5 96abbdce40601a7dadc79541891eff58
BLAKE2b-256 2d7414be3d43baedaf17b384f3010cd795d67d4982582dddb3a3ef18c57c241d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 564d3e12052e7e97bc6076e9fa42707143a2262c3536a76f52fafa8a679d91e7
MD5 de36d6d76256a17048020106f5861f5a
BLAKE2b-256 1a780c286413dab0746be5a2e47c6a79837502fc50a2cd85347edb8844923ce0

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f9161d40444f554bfe7b3c86df9fc3af575ad80e2cdcc3789fde3015ee668435
MD5 9c6040c4ec05f43b3a0e68a77830f1ae
BLAKE2b-256 891a1a346fa726563f246b816691fb1ce7ef4285f16145c1f8397325922613eb

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d247e75d3b1b882201b2179bdaefc6132b67259954339bc6921be8d55184fc7
MD5 25e881d9f640a1acbcdd70beff8c7761
BLAKE2b-256 d71b2d59e308a2238c2e3cb59846db85cc2513df22205a88a08523c9d107aacb

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d044c83cb73a4e58b3dc460089ea9ad0c874b68a03a189cef03cb305b108f160
MD5 79d7a3ff09d7efbb7620b07d81db602d
BLAKE2b-256 e1ad6bc3d75f141c50619a1a52fc45af605e81686c0130e372a4d07064ce6edd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74cc53f451d2f22d60df07319ab39f571d364a7506e213c3a2a14016704e50a9
MD5 4bbee249cd33ec680cc54186137324c2
BLAKE2b-256 c327438658a00d461e2babc8cef31c2167fde23832619334e1884e13659ce0a7

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5a67f9c558bf4a3d735be20e825219fe36d582a1c9f7a3dedc92bea7f0f842ad
MD5 39763d1be1d76163b8c298823cbf4aa6
BLAKE2b-256 af9e57b644500df0fa5761ddc751e6d1ccec53e746feefd72cecf6a01e566fc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67e0033af7193bae39a935b24f39c28d32e4d5e0a8d549e3f1bef30247da4225
MD5 3192eaa827fa469ffbf811accac01396
BLAKE2b-256 f0b04532eceb9869c0e7ffa56bf7c07c05da395f558ec342119fb28df4396d10

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 33c7d95a380bdf1d417aeccae80db5819572d356bd167da5eacf0cd522bee761
MD5 4702b0a1519a9c0e3dcf9cd1cf7eb7d8
BLAKE2b-256 c4c0e224cba7848a0328d54c59522b9b0c33745b903044b54f393266c1c8dc88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f62582e6ceed94e6c8bc9b84a368d8e8fd9f132490b9d87996d43692eae85c8
MD5 2ca50c58a170a47f9e10f7d445b61066
BLAKE2b-256 309c32ca3f26ae8c27ab243ace0771e7267241a2b88677d8db64e1a3e2b45664

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f51004d1f0b6a66c67acd03cdf1fa87dfcdb0d6eee57a8d5445b41795ebc44c6
MD5 cef300974a3326725ba2b97c3a1c26c3
BLAKE2b-256 124d2d852a647ca49b1f593d3b67427dba640aa24c93a83565116a0038c44b5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab25a38f7c2fc20ffe3886ce508d94001d148c73008296bfdddd47ca5359fc11
MD5 f91d15708777f51b1edc4e53e9cc53d9
BLAKE2b-256 2099f2b3efa05723ff93c6b8f28ec678c41c52d6345097091066acbbc69e7247

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp37-cp37m-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp37-cp37m-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d572ded574f7b4bcfb20218d2e185e75d20911b2b7854d9636ec454f280e7265
MD5 8094ccdcb9055e673d2f4e351f8973cd
BLAKE2b-256 6e763628cb9a5310e9aa98f7a81dff9aecc4ac10ba7e90e1265a42284822ba78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7ece07b92a36207d20dc26d15628df9d5a87abb5613e7904236e4f7bd775c4e8
MD5 4ca1da36d8e525cdb9e2059e975cf815
BLAKE2b-256 11349b2ad27a4debd82e804d911b039d632da868244847da15ad34f99fcc42b0

See more details on using hashes here.

File details

Details for the file pyCandleMAB-1.6.0-cp36-cp36m-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp36-cp36m-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d761df39b3dc4c9f2517563b77b53d4375033181cd04b124afb49dee246fe2f6
MD5 f1a85997ce66aec230f3c5edb93adabe
BLAKE2b-256 601c60a5ebfb88807551a20b4d8acc89c48ac88966de26dc6260d65d36143250

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyCandleMAB-1.6.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 87b9e3b6c777965f9d8a9e6394cc09a97033f36277c3aaf1b3322cead7b5e710
MD5 d1eb8d34ebb480330007b19d57ed5bf1
BLAKE2b-256 bb3ea477f9fdd930857861c57fe3b1aea6bc4afce1297da954e3bfaff10546f7

See more details on using hashes here.

Supported by

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