Python package for controlling MD-based actuators
Project description
CANdle-SDK
A toolkit for developing applications using MAB Robotics MD motor controllers and actuators.
Dependencies & Requirements
Linux
sudo apt install build-essential git cmake libusb-1.0-0-dev
Windows
Package requires w64devkit to build. It can be automatically downloaded and configured using:
launch/buildForWindows.bat
To use CANdle on Windows, one must manually change USB driver for CANdle, to WinUSB:
- Download and run Zadig 2.8
- Options -> List all devices
- Select
MD USB-TO-CANfrom drop down menu - Changed driver type to
libusb-win32 - Click
Replace Driver - Wait for installation to finish.
Build
Linux based OS
Building for Linux system:
./launch/buildForLinux.sh
Using Docker (only on x86_64 architecture)
(See: Installing docker on Linux(ubuntu) )
Run:
./launch/runDockerForLinux86-64.sh
Cross-compile for Windows
Using Docker
./launch/runDockerForWindows.sh
Natively build on Windows
Using powershell run
./launch/buildForWindows.bat
Compiling Python module
Dependencies are listed inside pyproject.toml
To compile for the current system run build command inside repository using your preferred python binary, for eg. python -m build.
To compile against multiple versions of libc and python use:
./launch/pythonBuildWheel.sh
To install use pip install on the desired wheel, for eg. python -m pip install ./dist/pycandlemab-1.7.0-cp310-cp310-linux_x86_64.whl for CPython 3.10, glibc and x86-64 arch.
Including CANdle-SDK in your projects
Best way to include CANdle-SDK in your code is to include it as a git submodule and include it in you CMakeLists.txt like this:
git submodule add git@github.com:mabrobotics/CANdle-SDK.git
git submodule update --init --recursive
You can than use candlelib as a library to link against your executables.
Below examplary CMakeLists.txt:
cmake_minimum_required(VERSION 3.15)
project(myCandleProject)
add_subdirectory(CANdle-SDK) # added as a submodule
add_executable(myCandleProject main.cpp)
target_link_libraries(myCandleProject candle)
Documentation
For more information check out our documentation page here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file candlesdk-1.3.4.tar.gz.
File metadata
- Download URL: candlesdk-1.3.4.tar.gz
- Upload date:
- Size: 57.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382e5a531968d206f1e640831a0a95b7501744ba09906b0e1c1432dfe24d7a6c
|
|
| MD5 |
17b94115d95d34f8a1521aeeb70a9bdd
|
|
| BLAKE2b-256 |
120767c441230174b1620136ca4cdf8dfeb1af89f68e5a3519ac45c17d753b47
|
File details
Details for the file candlesdk-1.3.4-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 720.2 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
450585bcc65168342694ddfe2198c935a40a1b923d809eca34b479af3fa65db6
|
|
| MD5 |
6d8bb7e9cd26d52e866f0cfb4d44fe5f
|
|
| BLAKE2b-256 |
838c3b8079694c8b965a42957715a4799df32af2093d6c8dbf35dae04692e484
|
File details
Details for the file candlesdk-1.3.4-cp314-cp314-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp314-cp314-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.14, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
892ec2643341e898536be12382132dbe35fb0e65882e97c032f4a68c5b071872
|
|
| MD5 |
b9774e1de52ed59ed1b2f15475bfb5ad
|
|
| BLAKE2b-256 |
34d787c426abfb87f7c1759227ad8dcb12e8ba243b42df85a653041486be1091
|
File details
Details for the file candlesdk-1.3.4-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 695.9 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b097b822f0257830497f9e86e97ddd428b08bab2b66b72a45fa2e9ec1c7713e
|
|
| MD5 |
090413180796c2d14952038e7e9efca6
|
|
| BLAKE2b-256 |
3ce404015a2bffbf87f8dc6668e61e68afeb5efb228490bfcd50845bebfc1b12
|
File details
Details for the file candlesdk-1.3.4-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a96c0d3d5849a9fc5b46def0b72a8c183237a3a42f4971b2a5a24eb39f48f75
|
|
| MD5 |
398987a19274e3930a149ffe38397448
|
|
| BLAKE2b-256 |
6d676df74eac8e33c359a13d929115bf7938328709aaca678b0abc199e7910f8
|
File details
Details for the file candlesdk-1.3.4-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
971719ebfc54c151e1ff120e0ebc51188d54af612c89ac8b883d6ea9fb140669
|
|
| MD5 |
4bde922e6aa67d4dd1b461df3035035c
|
|
| BLAKE2b-256 |
383683bf82b652e8d5ba5ace037881b8bef6736f5f797314b60389700b95313e
|
File details
Details for the file candlesdk-1.3.4-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9d2d3752f4f49cab3cc98e78fc477a77c6fe673dd167574843cb3316eaebc48
|
|
| MD5 |
1159a9690003f783fb65ef903b3f45ef
|
|
| BLAKE2b-256 |
62b70858eeb5d9e353fd3dfac66864b051463bc2c3bc510076e24fa34e7d5b13
|
File details
Details for the file candlesdk-1.3.4-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: candlesdk-1.3.4-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef20d67ace7e8aa47469aeedf7a9845a189cc5d52b3d237f6a63c0c85998e25b
|
|
| MD5 |
1f9db0e2a70c1f70f8fa9aed358ec19f
|
|
| BLAKE2b-256 |
beeabe23d8928b9c9413c5eefbd658fe54563ca407f77ab75294bd492fe44b0c
|