Skip to main content

Python SDK for the Motor-Drive-Layer C++ ABI

Project description

motor-drive-layer

Python bindings for the Motor-Drive-Layer native C++ Damiao motor driver.

The package loads the bundled C ABI library through Python ctypes and exposes SocketCAN, SocketCAN-FD, Damiao serial bridge, and optional DM_Device transports.

Use Motor.request_fresh_state(timeout_ms=50) when the caller must wait for a newly requested feedback frame. For multiple motors, Controller.request_feedback_all(timeout_ms=50) sends every request with the configured TX pacing and waits against one shared deadline; a timeout reports the missing motor IDs. The lower-level request_feedback(), get_state(), and poll_feedback_once() methods remain non-blocking asynchronous/cache operations.

See the project README for build instructions, architecture, configuration, safety guidance, and examples.

This package is distributed under the MIT License. The optional DM_Device vendor runtime is distributed separately and may have its own license terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

motor_drive_layer-0.5.1-py3-none-manylinux_2_34_x86_64.whl (97.5 kB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

File details

Details for the file motor_drive_layer-0.5.1-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for motor_drive_layer-0.5.1-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5e60deaa0d64c6964769ba9c3f16984d8fc8aa08135d1fab6425f232478dc29e
MD5 f54fa6e63314a6fdceea24c49b8b01cb
BLAKE2b-256 efe7e83baa025077915fb66d42b99817469ea3a63d7d00eafcdd55735def1b33

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