ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Publishers and subscribers take a bit of time to setup. I have faced with a situation where my publisher publishes before the subscriber is up and running. Make sure all your subscribers are up and running with something like the following
ros::Rate loop(0.5)
loop.sleep()
and then try publishing.