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

fix cancellation of trajectory action #86

Open
wants to merge 1 commit into
base: ros2
Choose a base branch
from

Conversation

mikeferguson
Copy link
Contributor

Without this, canceling a trajectory (say, using the 'stop' button in MoveIt) results in an error:

[gdb-1] [INFO] [1733514002.130626439] Started arm_controller.follow_joint_trajectory
[gdb-1] [ERROR] [1733514002.891465664] [arm_controller.follow_joint_trajectory]: Trajectory cancelled.
[gdb-1] terminate called after throwing an instance of 'rclcpp::exceptions::RCLError'
[gdb-1]   what():  goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at ./src/rcl_action/goal_handle.c:95
[gdb-1] 

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

Successfully merging this pull request may close these issues.

1 participant