ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Don't create Subscribers inside your while
-loop. Move the initialisation of ros::Subscriber sub
to somewhere else.
2 | No.2 Revision |
Don't create Subscribers inside your while
-loop. Move the initialisation of ros::Subscriber sub
to somewhere else.
Also: why three ros::Rate::sleep()
statements?