Robotics StackExchange | Archived questions

How to use Gazebo2 internal topics?

I want to use the internal gazebo topics for getting sensor data from the Gazebo simulator, but only links and model topics are available outside gazebo. How to use the gazebo's internal topics? image description image description

Asked by saleem on 2016-03-09 10:04:59 UTC

Comments

I have also the same problem. When I run "gztopic list", I can see the internal gazebo topics. But I don't know how to use them.

Asked by Zuygar on 2016-03-10 07:54:11 UTC

Answers

Gazebo and ROS use different transport mechanisms.

rostopic list will only show topics that are publish in ROS and gz topic -l will only show topics that are published in Gazebo.

Here are tutorials on how to use Gazebo's transport library: http://gazebosim.org/tutorials?cat=transport

Asked by nkoenig on 2016-03-10 17:50:51 UTC

Comments