Skip to content
Snippets Groups Projects
Commit e08abb24 authored by Christoph Schröter's avatar Christoph Schröter
Browse files

No commit message

No commit message
parent 5278d863
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ class Garage {
while (true) {
rate.sleep();
if (as.isPreemptRequested() || !ros::ok() || as.isNewGoalAvailable()) {
ROS_INFO("server preempted");
ROS_INFO("server preempted at position %i", current_position);
res.position = current_position;
as.setPreempted(res, "preempted");
return;
......
used for testing:
./tron -I SocketAdapter -P eager -v 24 -u 0,1000000,0,1000000 garage_actionlib.xml -- 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment