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

Change ros::spin() to ros::spinOnce() and move it inside the while loop. See http://answers.ros.org/question/11887/significance-of-rosspinonce/ for explanation.

Change ros::spin() to ros::spinOnce() and move it inside the while loop. See http://answers.ros.org/question/11887/significance-of-rosspinonce/ http://answers.ros.org/question/11887/significance-of-rosspinonce/?answer=17582#post-id-17582 for explanation.an explanation of why you need to do this.

Change ros::spin() to ros::spinOnce() and move it inside the while loop. See http://answers.ros.org/question/11887/significance-of-rosspinonce/?answer=17582#post-id-17582 for an excellent explanation of why you need to do this.