Robotics StackExchange | Archived questions

How do I use can_msgs and socketcan_bridge in ROS 2?

I found the ros2canopen repo, but it doesn't seem to have canmsgs like the ros1 version has.

I'd like to use the a ros2 publisher to publish a canmsg to the socketcanbridge, like they had in ros1.

Is this possible in ros2? How do I install the canmsgs package locally? And how do I start the socketcanbridge locally with ros2?

ros2canopen repo: https://github.com/ros-industrial/ros2canopen

Asked by lexi on 2023-04-05 17:12:26 UTC

Comments

Answers

I've used this repository in the past to convert from socketcan to can_msgs: https://github.com/autowarefoundation/ros2_socketcan/tree/main/ros2_socketcan

Asked by Timple86 on 2023-04-08 01:57:12 UTC

Comments