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/windows_distribution.mdWindows Distribution and SDK Usage
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.
slcan + Windows pcan), see can_debugging.md.
This guide explains how to ship and consume motorbridge on Windows.
Artifact Matrix
- Python users:
- install
.whl(motorbridge-<ver>-cp3xx-...-win_amd64.whl)
- install
- C/C++ users:
- use ABI
.zip(motorbridge-abi-<ver>-windows-x86_64.zip)
- use ABI
- Linux-only package:
.debis for Ubuntu/Linux and is not installable on Windows
- MSI:
- optional convenience installer, not required for SDK usage
Runtime Dependencies
- PEAK PCAN driver installed
PCANBasic.dllavailable from PCAN-Basic runtime
Build Windows ABI Locally
target/release/motor_abi.dlltarget/release/motor_abi.lib
Build Windows Python Wheel Locally
- The wheel build now embeds the ABI DLL automatically.
- If the ABI DLL cannot be found, wheel build fails fast with a clear error.
Install and Verify Python SDK
Install and Verify C/C++ ABI
- Download
motorbridge-abi-<ver>-windows-x86_64.zip. - Extract include/lib to your dependency folder.
- Link
motor_abi.dll+ import lib in your project.
Channel and Bitrate Conventions on Windows
can0maps toPCAN_USBBUS1can1maps toPCAN_USBBUS2- Add bitrate as suffix:
can0@1000000