-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Labels
Description
Currently, there's no predefined way to handle preemption in rclcpp_actions. When a client sends a new goal when a previous goal is running, the old goal's state is set to ABORTED. This means that there's no way to differentiate between an abort caused by a true failure in the server and an abort caused by a request for preemption.
A client should be able to distinguish between the result codes received on true abort and abort due to preemption.
There are some ongoing discussions on the tickets and PRs listed below:
ros2/rclcpp#1104
ros2/rclcpp#1117
ros2/rcl_interfaces#105
ros-navigation/navigation2#1652
fujitatomoya, TanmayDeshmukh and ksaia