ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I'm not sure what the best practice is, but I've always used ros::topic::waitForMessage. It gets one message on the topic you specify.