ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are only using spinOnce
. This will only handle messages once. If you want to continuously receive messages call this in a loop or use ros::spin
.