Ask Your Question

Revision history [back]

Subscribe to a Gazebo topic and publish in a ROS node

Hi. My idea is quite simple. Launching the turtlebot3 simulation, I would like to get /LaserScan information from gazebo and use it in a ROS node. Is there any example I can follow? I would like to do it in only one .pp file, not 2 separated (like the talker/listener tutorial).

Any help or reference would be really appreciated!