ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi, the topic you need to subscribe to is listed here. In this case, you probably want to do something like below:
xyz_subscriber_ = node_handle_.subscribe("/gazebo/model_states", 10, ModelStatecallback);
hope this helps.