Documentation Index
Fetch the complete documentation index at: https://motorbridge.seeedstudio.com/llms.txt
Use this file to discover all available pages before exploring further.
Source:
docs/en/examples.mdCross-language Examples
Channel Compatibility (PCAN + slcan + Damiao Serial Bridge)
- Linux SocketCAN uses interface names directly:
can0,can1,slcan0. - For USB-serial CAN adapters, bring up
slcan0first:sudo slcand -o -c -s8 /dev/ttyUSB0 slcan0 && sudo ip link set slcan0 up. - Damiao-only serial bridge transport is also available in CLI (
--transport dm-serial --serial-port /dev/ttyACM0 --serial-baud 921600). - On Linux SocketCAN, do not append bitrate in
--channel(for examplecan0@1000000is invalid). - On Windows (PCAN backend),
can0/can1map toPCAN_USBBUS1/2; optional@bitratesuffix is supported.
Index
- Rust CLI:
motor_cli/src/main.rs - C ABI:
examples/c/c_abi_demo.c - C++ ABI:
examples/cpp/cpp_abi_demo.cpp - Python ctypes:
examples/python/python_ctypes_demo.py - Multi-vendor position sync script:
examples/python/four_vendor_pos_sync.py - WS quad sync HMI:
examples/web/ws_quad_sync_hmi.html - Python SDK:
bindings/python/examples/* - C++ wrapper:
bindings/cpp/examples/*