Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error calling cancel_goal() in simple state DONE #126

Open
martiniil opened this issue Feb 15, 2019 · 1 comment
Open

Error calling cancel_goal() in simple state DONE #126

martiniil opened this issue Feb 15, 2019 · 1 comment

Comments

@martiniil
Copy link

Using a SimpleActionClient, I would like to be able to cancel a goal with minimal delay. But using cancel_goal() sometimes yields the following error:

Received comm state PREEMPTING when in simple state DONE with SimpleActionClient in NS /sequence_move_group

This is due to the action client transitioning from DONE -> WAITING_FOR_CANCEL_ACK. In my opinion this should not happen. (which would be in accordance with the figure of the state transitions: http://wiki.ros.org/actionlib/DetailedDescription).

@jschleicher
Copy link
Contributor

Probably one would want a similar check as in cpp 3db5a80 for the python client. The python client lacks such a "ignore cancel request" section

def cancel(self):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants