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:
examples/python/README.mdPython ctypes 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). - Full Damiao serial-bridge interface list and command patterns are documented in
motor_cli/README.md(section3.6inmotor_cli/README.zh-CN.md). - 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.
ctypes.
Chinese version: README.zh-CN.md
File
python_ctypes_demo.py: unified two-vendor demofour_vendor_pos_sync.py: concurrent multi-vendor position sync helper
- Damiao:
enable,disable,mit,pos-vel,vel,force-pos - RobStride:
ping,enable,disable,mit,pos-vel,vel,read-param,write-param- note: torque/current is parameter-level only (
write-paramoniq_ref/limits), not a unified high-level mode
- note: torque/current is parameter-level only (
Build and Run
Examples
Damiao MIT:rs-06 only as a sample model. Use the RS model you use for limits/logging; runtime parameter IDs and types come from the common section 4 table.
RobStride write parameter:
motor_cli commands only):