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

Approach to convert from ROS2 to robot specific communication protocols when your robot does not run ROS?

asked 2021-03-03 10:45:53 -0500

user300 gravatar image

We are using ROS2/Gazebo to create a simulation environment for our robot with a large set of virtual sensors. Our goal is to run our processor with robot code in the loop, but our robot code does not run ROS. We need to convert from the ROS/Gazebo architecture to robot specific communication protocols for each sensor. We are curious to learn how other projects have architected their solution to a similar scenario and/or if there is a recommended approach from the ROS/Gazebo experts.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-03-03 22:36:51 -0500

abhishek47 gravatar image

updated 2021-03-03 22:37:31 -0500

"need to convert from the ROS/Gazebo architecture to robot specific communication protocols for each sensor"

  1. Find out the specific format/communication-protocol that your hardware expects.
  2. Write up some "interface" code which does the conversion between ROS and the actual hardware.

Also take a look at ROS wrappers (#q225518 and #q202000)

edit flag offensive delete link more

Comments

I believe this is a too simplistic proposal.

The OP states:

our robot code does not run ROS. We need to convert from the ROS/Gazebo architecture

architecture goes beyond communication protocols, at least it does for me.

gvdhoorn gravatar image gvdhoorn  ( 2021-03-04 02:16:17 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-03-03 10:45:53 -0500

Seen: 79 times

Last updated: Mar 03 '21