How to use CANOpen with ROS2?

asked 2022-11-28 17:23:52 -0500

jclinton830 gravatar image

Hi,

I have a 4wd robot that I am working on which has four motor controllers that must communicate to a computer running ROS2 using a CAN network. I have already set up the gazebo_ros2_controller and that is all working well with ros_control.

However, there is little to no information about how to use ros2_canopen

Is there anyone who has figured out how to interface ros2_canopen into their ROS2 control stack?

edit retag flag offensive close merge delete

Comments

1

Have you asked the developers?

They are pretty responsive to questions.

I would suggest to start by posting an issue on their tracker.

gvdhoorn gravatar image gvdhoorn  ( 2022-11-29 12:04:42 -0500 )edit

Hi @gvdhoorn,

I have posted on their issues section in their repo, and turns out all the information I needed is in the development guide provided but the guide available currently is written in a very high-level format and its not very easy to understand for people who have never worked with CAN in ROS or CAN at all. The learning curve is a bit steep, I am still experimenting and learning myself.

jclinton830 gravatar image jclinton830  ( 2023-01-29 17:53:45 -0500 )edit

turns out all the information I needed is in the development guide provided but [it] is written in a very high-level format and its not very easy to understand [..]

seems like valuable feedback to share with them.

people who have never worked with CAN in ROS or CAN at all

well, yes, that might complicate things a bit.

gvdhoorn gravatar image gvdhoorn  ( 2023-01-30 03:22:39 -0500 )edit

Btw:

I have posted on their issues section in their repo

please always post a comment with a link to any issues you post to trackers and which are connected to your ROS Answers post. That way we keep things connected.

gvdhoorn gravatar image gvdhoorn  ( 2023-01-30 03:23:18 -0500 )edit