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 have finally found out! I only had to chage the ros::spin() to a ros::spinOnce() and put iy in the while loop with the subscriber outside the while loop. Thank you very much for your help.

I have finally found out! I only had to chage the ros::spin() to a ros::spinOnce() and put iy it in the while loop with the subscriber outside the while loop. Thank you very much for your help.