Canusb
A ROS node to provide access to LAWICEL CANUSB
Install / Use
/learn @spiralray/CanusbREADME
canusb
ROS node of LAWICEL CANUSB
##Install clone this project into ~/catkin_ws/src
cd ~/catkin_ws/src
git clone https://github.com/spiralray/canusb.git
cd ..
catkin_make
##Usage
rosparam set /canusb/baud 500k #Set 500Kbps
rosparam set /canusb/port /dev/ttyUSB0 #Set CANUSB port
rosrun canusb canusb.py
This node publish received messages on "/canrx".
rostopic echo /canrx
#rosmsg
This node uses original message formtat "CAN"
This format contains
- time timestamp
- uint16 stdId
- int32 extId
- uint8[] data
When you transmit messages in standard format, you have to set minus value to extId
##Supported baudrate
- 10k
- 20k
- 50k
- 100k
- 125k
- 250k
- 500k
- 800k
- 1m
You can choose baudrate using rosparam.
rosparam set /canusb/baud 500k
Sample of transmitting CAN messages
rosrun canusb test.py
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
