Closed lanyusea closed 9 years ago
Currently the issue can be solved by simple multi-thread
ros::AsyncSpinner spinner(4); // Use 4 threads
spinner.start();
ros::waitForShutdown();
However, it is not a rosy way. People suggest me to try ROS/actionlib
actionlib-ed in Octrober, forget to update it here.
The waypoint navigation loop should run in a separate thread, otherwise it cannot update the current state.
TODO: ROS multi thread.
otherwise a trivial loop can be implemented in client node, but not user-friendly, not at all.