Skip to content

Commit

Permalink
Add graceful cancellation API to the migration guides
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Wijnands <[email protected]>
  • Loading branch information
Rayman committed Mar 26, 2024
1 parent 87c2772 commit 2704a03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions migration/Iron.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,3 +294,7 @@ New BtActionServer/BtNavigator parameter

`PR #4209 <https://github.com/ros-planning/navigation2/pull/4209>`_ introduces a new boolean parameter ``always_reload_bt_xml``, which enables the possibility to always reload a requested behavior tree XML description, regardless of the currently active XML. This allows keeping the action server running while changing/developing the XML description.

New graceful cancellation API for Controllers
*********************************************

`PR #4136 <https://github.com/ros-planning/navigation2/pull/4136>`_ introduces a new graceful cancellation API for controllers. Previously when a goal was canceled, the controller would stop the robot immediately. This API allows the controller to stop the robot in a more graceful way. The new API is implemented in the ``RegulatedPurePursuitController`` by adding a new parameter ``cancel_deceleration``. So when the goal is canceled, a constant deceleration will be used to stop the robot instead of stopping immediately. This API can be should be added to all controllers that have acceleration limits.

0 comments on commit 2704a03

Please sign in to comment.