ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Log and interpreted CAN messages at the same time

asked 2019-03-08 00:15:05 -0500

quantum gravatar image

I have CAN Network which i would like to interpreted one of the CAN ID messages and parallel I would like to log in a rosbag all the communication (e.g. candump).

I know it is possible to do a candump and I know it is possible to interpreted from CAN network a given message.

How could I do both? (From my point of view, it can be done with multi nodes combinations)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-08 10:06:52 -0500

Wolf gravatar image

Yes, this is possible.

Have a look at the packages

http://wiki.ros.org/socketcan_bridge

http://wiki.ros.org/socketcan_interface

With those connected to CAN, you can have a node that interprets your messages on topic received_messages and further log them via rosbag

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-03-08 00:15:05 -0500

Seen: 318 times

Last updated: Mar 08 '19