-
Notifications
You must be signed in to change notification settings - Fork 229
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
Canceling an action goal returns "Exception while canceling goal: None" #1390
Comments
This can be reproduced with rolling source code build. |
I thin the root cause of this is SIGINT handler in rclpy/rclpy/src/rclpy/signal_handler.cpp Line 144 in ca59a7f
and in the i think we need to have the signal handler, and expects that is the cancel request from the terminal. |
@sea-bass thanks for posting issue. can you try ros2/ros2cli#956 see if that fixes your problem too? that would be really appreciated. |
Just tested and can confirm this fixes the issue -- thanks @fujitatomoya! |
@sea-bass thanks for testing. |
Bug report
Required Info:
Steps to reproduce issue
I'm not entirely sure this is a bug, but it was pointed out to me in an issue on one of my own repos (sea-bass/pyrobosim#310). I could then reproduce it with the simple
rclpy
examples:If I start an example action server and then cancel it:
The output is the following
Expected behavior
It should say something like
Actual behavior
The text was updated successfully, but these errors were encountered: