ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Which is expected, as you don't have a ros::spinOnce()
anywhere in the while-loop.
If you need a separate while-loop, you have to call ros::spinOnce()
. If you don't need the while-loop, use ros::spin()
.