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.2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distributions

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

pycandlemab-1.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl (705.8 kB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (714.3 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp314-cp314-musllinux_1_2_x86_64.whl (704.9 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (714.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl (704.1 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (713.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl (704.1 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp312-cp312-manylinux_2_38_x86_64.whl (687.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.38+ x86-64

pycandlemab-1.6.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (713.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl (702.5 kB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (712.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp310-cp310-musllinux_1_2_x86_64.whl (701.4 kB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (710.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp39-cp39-musllinux_1_2_x86_64.whl (701.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (710.8 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

pycandlemab-1.6.2-cp38-cp38-musllinux_1_2_x86_64.whl (701.0 kB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

pycandlemab-1.6.2-cp38-cp38-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl (710.1 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.26+ x86-64manylinux: glibc 2.28+ x86-64

File details

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

File metadata

  • Download URL: pycandlemab-1.6.2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pycandlemab-1.6.2.tar.gz
Algorithm Hash digest
SHA256 f6220de976cb11cddccefa347b47c06fdcc325e5e2eca07e67f6e65065c5da3b
MD5 29f631b78091895d0767254f58766ee9
BLAKE2b-256 eeebbb8b489337946253aa62f8ce6b3c1ee80c89b58895e580fac9bd754faa10

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e1eae59a9cd7696bb365fb1acbc37890026f8a37091b4375bdbad19989010f58
MD5 f96135de80ab908aea424e561e978123
BLAKE2b-256 74ad74a56ebfcd2eb9da8df5d6a3ba0ce023dca981ec6f147a47f1078412e213

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2391305ded8a5d73a21ddb8caa1d2134b248207715caaa25875589d1ad7c7f8d
MD5 d142640b1e7c9f20f5ccdb8ecbf0b3cf
BLAKE2b-256 69d6921d7a6a2526022b732c74d452a5f5e8cd987e69be2bd08cf7c49957e2e7

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4fb40947f758a379823429e84cb8e53287058cc4edf50198a027cdeabbe4df12
MD5 a534ce38d5bcf763c06984ef60049c41
BLAKE2b-256 1fc2a5208cb4c6345f9c29778db941184306753e62a685bc4d5d4e07f91d5bcf

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp314-cp314-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 413e11c5d2565e9e3ccfb179fb449a164c7d43baadb1d8d3401947e5189fe4b4
MD5 1251f43e8eb402927046f5de0ee503aa
BLAKE2b-256 1a1ec23234d90cfbc897958df53f51053c67561645c2294f1d76005037d4f747

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b2122365073183e1210793acf94fb55b2c65178fd674671c503058540da6faa8
MD5 65642928c81824f17f6c42e28b86410d
BLAKE2b-256 22b95f4561465cc5dfe33608c3368dc83e41a8cff0eb5876277605bfeeb1a6ce

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp313-cp313-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51dc5238ab6a392674d36e2b1b33c8acbde02a7fa39da78bd9276751e924cf86
MD5 32cbab67391b5131dceabf84476bc2a3
BLAKE2b-256 29f6063330577f907764d943851655abb2bf4e41641898e1bf5131ffd0cbccc8

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4fd95a5f4566e7d1813195e71b02b2ee508edeaeafc4bc57e3886bb3bfb58e69
MD5 d889022b7848527b7e043b60cdb77fe2
BLAKE2b-256 843c45393bfc46d1bf008a13ae35ce1a4d968d1c5fdff976c3f4a6180c0784af

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp312-cp312-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp312-cp312-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 2f83f659e4543eb405f409dc6ee67fe4126398f3c08c869f4a997e25e4b7d2c6
MD5 b818ff73517582609affbc3b6abb33d9
BLAKE2b-256 685076d2731033d3956774f954fc23e3635628d4c0ab2abbd9c6827e4263421d

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab72349e712b69539ce453dc8dba8bcd49d562eefc6312334e1d642cb1cbc765
MD5 3b69e1acc6d1bf218d6f9413da067dd7
BLAKE2b-256 0cee42949ea0c25223847c4ecb200b548ef70c54c3ca209890e00516241eed13

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 514d4ed4d81d5269659a99b9b67defcce7bfdf894f08c135beb520c65d4433a3
MD5 b376a96f83edd6f7e989e5af3c523920
BLAKE2b-256 43e69fb99e2a17b97978f72a893e476a476724f1eb6005c825626de8808d04bb

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp311-cp311-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b02c6d379c5c9c38c1b6fe97863ababb9fc929dc3995f8ab0bdeba21e8360348
MD5 b7187bb196c00847d3c12eec208b373a
BLAKE2b-256 fd20fcdbd56e89073c3a99ecb06427207b4085823689f1ce88d18a40350915f9

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e043c1acb094f1941289b176f3a1d7815ec5213bcbcef4fe40dd52bdf3011e54
MD5 8a738c9b0f7090a8f671afe405f44db4
BLAKE2b-256 a6b90f1f9d49caeb9e547ac316aff32153ecdf3e9222dfd2e3a1ebff2c03d8b1

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp310-cp310-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 da8e85a0afa633cc35788024d0b52c55e5fdcf25aa9bc972bb72c1802adefe97
MD5 26bc832801653be4db65151fa2956ca8
BLAKE2b-256 536e8fe34d49e7c6655d769af3996ec006985d571da1d4a14c36c37a39929e49

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a4d61d06b964a3bf4e9a5ea57d7f81c0c59f7ed0dbfa927fee57bb391e1546a1
MD5 fb80074ceb0daf531d7e6101bfb4a181
BLAKE2b-256 347bcc31904d1455680410f99b85227c4288badb98ef08c3de04fe960de73066

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp39-cp39-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 84c0dd32717a9a863edceb090a047a055b85290330a65b18451041cdaf748bfc
MD5 2424021aa71c6f051f9e8e0bac1c82a7
BLAKE2b-256 f54ae86e6eeb9f70b3f950897f002078e01283be608a6470a48e43c2de799601

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 67e5afde59f77216b573827fcc0610385b69f83b8980d48e901d66c28be9b2f2
MD5 2da4119d69947eaa4522a031e5cfd2a0
BLAKE2b-256 200a31fd8182961405ad41f61fd90ebfd9c975b0e71997dbb5317cdb1f12638e

See more details on using hashes here.

File details

Details for the file pycandlemab-1.6.2-cp38-cp38-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycandlemab-1.6.2-cp38-cp38-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 860b9e3764ba157a315d269ba9ca4fb18b96bc7f8195403de336c040d6d2fae9
MD5 1164d8a553468288d60e8eff3a5462f3
BLAKE2b-256 3a4926517f3b5acbf00083e5ac4cdb0074f2b316e9531590d44f9f5511eed32d

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