Skip to content

Commit 2d084a7

Browse files
doisygGuillaume DoisySteveMacenski
authored
Add PoseProgressChecker (#414)
* PoseProgressChecker documentation * Update configuration/packages/nav2_controller-plugins/pose_progress_checker.rst --------- Co-authored-by: Guillaume Doisy <guillaume@dexory.com> Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
1 parent 83b85fc commit 2d084a7

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

‎configuration/packages/configuring-controller-server.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Provided Plugins
177177
:maxdepth: 1
178178

179179
nav2_controller-plugins/simple_progress_checker.rst
180+
nav2_controller-plugins/pose_progress_checker.rst
180181
nav2_controller-plugins/simple_goal_checker.rst
181182
nav2_controller-plugins/stopped_goal_checker.rst
182183

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
.. _configuring_nav2_controller_pose_progress_checker_plugin:
2+
3+
PoseProgressChecker
4+
===================
5+
6+
Checks whether the robot has made progress based on translation and rotation.
7+
8+
Parameters
9+
**********
10+
11+
``<nav2_controller plugin>``: nav2_controller plugin name defined in the **progress_checker_plugin_id** parameter in :ref:`configuring_controller_server`.
12+
13+
:``<nav2_controller plugin>``.required_movement_radius:
14+
15+
============== =============================
16+
Type Default
17+
-------------- -----------------------------
18+
double 0.5
19+
============== =============================
20+
21+
Description
22+
Minimum amount a robot must move to be progressing to goal (m).
23+
24+
:``<nav2_controller plugin>``.required_movement_angle:
25+
26+
============== =============================
27+
Type Default
28+
-------------- -----------------------------
29+
double 0.5
30+
============== =============================
31+
32+
Description
33+
Minimum amount a robot must rotate to be progressing to goal (rad).
34+
35+
:``<nav2_controller plugin>``.movement_time_allowance:
36+
37+
============== =============================
38+
Type Default
39+
-------------- -----------------------------
40+
double 10.0
41+
============== =============================
42+
43+
Description
44+
Maximum amount of time a robot has to move the minimum radius or the mnimum angle (s).
45+

‎migration/Humble.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,3 +187,7 @@ Velocity smoother applies deceleration when timeout
187187
***************************************************
188188

189189
`PR #3512 <https://github.com/ros-planning/navigation2/pull/3512>`_ makes the VelocitySmoother apply the deceleration when the input command timeout.
190+
191+
PoseProgressChecker plugin
192+
**************************
193+
`PR #3530 <https://github.com/ros-planning/navigation2/pull/3530>`_ adds a new ``nav2_controller::PoseProgressChecker`` plugin. It builds on the behavior of the ``SimpleProgressChecker`` by adding a new parameter ``required_movement_angle``, allowing the plugin to considers that there is still progress when there is no translation movement, from the moment there is a rotation movement superior to ``required_movement_angle`` within the ``movement_time_allowance``.

‎plugins/index.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,14 @@ Progress Checkers
300300
| | | distance in a given time to |
301301
| | | make progress towards a goal |
302302
+---------------------------------+------------------------+----------------------------------+
303+
| `PoseProgressChecker`_ | Guillaume Doisy | A plugin to check whether the |
304+
| | | robot was able to move a minimum |
305+
| | | distance or angle in a given time|
306+
| | | to make progress towards a goal |
307+
+---------------------------------+------------------------+----------------------------------+
303308

304309
.. _SimpleProgressChecker: https://github.com/ros-planning/navigation2/blob/main/nav2_controller/plugins/simple_progress_checker.cpp
310+
.. _PoseProgressChecker: https://github.com/ros-planning/navigation2/blob/main/nav2_controller/plugins/pose_progress_checker.cpp
305311

306312

307313
Behavior Tree Nodes

0 commit comments

Comments
 (0)