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

SimpleActionState crashes during request_preempt #121

Open
jcsantamaria opened this issue Jul 1, 2024 · 0 comments
Open

SimpleActionState crashes during request_preempt #121

jcsantamaria opened this issue Jul 1, 2024 · 0 comments

Comments

@jcsantamaria
Copy link

jcsantamaria commented Jul 1, 2024

In a SMACH state machine that includes an instance of SimpleActionState, if that state is active and one issues a request_preempt(), the program crashes.
The main reason is that the SimpleActionState.request_preempt() method attempts to call self._action_client.cancel_goal() as seen here (link), but the ActionClient class does not have such method (see reference). The cancel_goal() method does exists but it is on the ClientGoalHandle class.
I have a fix in place. I could share it as a contribution, but I could not find the contributions rules/instructions in this repo. Please advise.

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

1 participant