Robotics StackExchange | Archived questions

How to decode .dbc file messages and publish them with ROS ?

Hi,

I am using peak system can adapter to communicate with my car and other sensors using the package ros_canopen. It works well. (Ros melodic, ubuntu 18.04) Questions: 1.how can I use a (.dbc ) file with this package ? 2.how can I use more then one (.dbc ) file with this package ?

Many thanks,

Asked by hyakoubi on 2023-03-16 04:43:03 UTC

Comments

Answers

I think something like this package would be what you are looking for to use with the canopen package:

https://github.com/Black-Forest-Formula-Team/bfft_can_bus_msgs_to_ros_topic

In addition, dbc files can be combined together into a single dbc file using something like cantools to combine multiple .dbc files together

Asked by rcmast3r on 2023-03-19 14:24:29 UTC

Comments