Improvements to SimpleActionServer (#1356)
* Handle action server deactivation while the action is still running. * Handle race condition between completing an action and receiving a preemption. * Terminate all goals if cancel was requested on any goal handle. * Terminate only the current goal if the module fails to execute the action.
Showing
- nav2_bt_navigator/src/bt_navigator.cpp 2 additions, 2 deletionsnav2_bt_navigator/src/bt_navigator.cpp
- nav2_controller/src/nav2_controller.cpp 2 additions, 2 deletionsnav2_controller/src/nav2_controller.cpp
- nav2_planner/src/planner_server.cpp 5 additions, 8 deletionsnav2_planner/src/planner_server.cpp
- nav2_recoveries/include/nav2_recoveries/recovery.hpp 4 additions, 4 deletionsnav2_recoveries/include/nav2_recoveries/recovery.hpp
- nav2_util/include/nav2_util/simple_action_server.hpp 171 additions, 108 deletionsnav2_util/include/nav2_util/simple_action_server.hpp
- nav2_util/test/test_actions.cpp 208 additions, 4 deletionsnav2_util/test/test_actions.cpp
Please register or sign in to comment