Robotics StackExchange | Archived questions

Publish CAN bus data as a ROS message

Hello,

Is there any standard ROS message to publish can-bus data?

Did not find relevant tags for this question, sorry.

Asked by ashwinsarvesh on 2020-07-27 04:46:27 UTC

Comments

Please update your tags. All those ROS versions have been EOL for multiple years, and I don't believe you are using any of them.

Asked by gvdhoorn on 2020-07-28 03:13:23 UTC

I am not able to edit the tags None of the default tags is relevant to my question What to do?

Asked by ashwinsarvesh on 2020-07-28 14:17:39 UTC

Answers

You must have seen can_msgs?

(not sure whether this qualifies as standard message though)

Asked by gvdhoorn on 2020-07-28 03:12:58 UTC

Comments

Will tell the context first: I would like to use the can-bus data from the LGSVL simulator(runs on Ubuntu) to the external world using a USB to CAN adapter. An easy way to do this is to use socketcan_bridge which sends the CANbus data(of the type can_msgs/Frame) through the socketcan_interface to the USB to CAN device. But the problem is socketcan_bridge is not supported by LGSVL simulator.

So I am looking for an alternative solution. If someone could help me, it will mean a lot.

Asked by ashwinsarvesh on 2020-07-28 14:16:13 UTC