ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I figured out the issue and it is rather silly. The lines:

ros::spinOnce();
loop_rate.sleep();

should be placed outside the while loop.