ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Preemption should trigger the done callback that you can pass to SimpleActionClient::sendGoal. In case of preemption, the callback gets a SimpleClientGoalState set to preempted. If that doesn't work for you, I suspect there is something wrong in the server. Did you try implementing it using the execute callback instead of using a goal and a preemption callback?