Skip to main content

Channel Compatibility (PCAN + slcan + Damiao Serial Bridge)

  • Linux SocketCAN uses interface names directly: can0, can1, slcan0.
  • For USB-serial CAN adapters, bring up slcan0 first: 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 example can0@1000000 is invalid).
  • On Windows (PCAN backend), can0/can1 map to PCAN_USBBUS1/2; optional @bitrate suffix 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/*

Quick Commands

Damiao Python ctypes:
RobStride Python ctypes:
RobStride C ABI:
Multi-vendor position sync helper:
Web HMI (single slider controls 4 motors to the same angle):