-
Notifications
You must be signed in to change notification settings - Fork 268
Axis goal checker docs #838
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
Merged
SteveMacenski
merged 8 commits into
ros-navigation:master
from
botsandus:axis-goal-checker
Jan 8, 2026
Merged
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9abf58d
Adds documentation for AxisGoalChecker plugin
tonynajjar 60695e3
udpate
tonynajjar 36ebc61
pre-commit
tonynajjar fbfbd6a
migration
tonynajjar a31c4c6
add script
tonynajjar 31d56e0
Update migration/Kilted.rst
tonynajjar 6dff4b1
Merge branch 'master' into axis-goal-checker
tonynajjar 7063c49
fix
tonynajjar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
configuration/packages/nav2_controller-plugins/axis_goal_checker.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| .. _configuring_nav2_controller_axis_goal_checker_plugin: | ||
|
|
||
| AxisGoalChecker | ||
| =============== | ||
|
|
||
| Checks whether the robot has reached the goal pose by projecting the robot's position onto the path direction defined by the last segment of the path. This goal checker uses the last two poses of the path (``before_goal_pose`` and ``goal_pose``) to determine the path direction and then checks if the robot is within tolerance along that axis. | ||
|
|
||
| Unlike simple distance-based goal checkers, the AxisGoalChecker allows independent control of tolerances along the path direction (``along_path_tolerance``) and perpendicular to it (``cross_track_tolerance``). This is particularly useful for applications where precise alignment along a specific axis is more important than radial distance from the goal. | ||
|
|
||
| .. image:: /images/axis_goal_checker.png | ||
| :alt: AxisGoalChecker Illustration | ||
| :align: center | ||
|
|
||
| Parameters | ||
| ********** | ||
|
|
||
| ``<nav2_controller plugin>``: nav2_controller plugin name defined in the **goal_checker_plugin_id** parameter in :ref:`configuring_controller_server`. | ||
|
|
||
| :``<nav2_controller plugin>``.along_path_tolerance: | ||
|
|
||
| ====== ======= | ||
| Type Default | ||
| ------ ------- | ||
| double 0.25 | ||
| ====== ======= | ||
|
|
||
| Description | ||
| Tolerance for the projected distance along the path direction (m). This checks how far ahead or behind the goal the robot is when projected onto the path axis. | ||
|
|
||
| :``<nav2_controller plugin>``.cross_track_tolerance: | ||
|
|
||
| ====== ======= | ||
| Type Default | ||
| ------ ------- | ||
| double 0.25 | ||
| ====== ======= | ||
|
|
||
| Description | ||
| Tolerance for the perpendicular distance from the path direction (m). This checks how far to the left or right of the path axis the robot is. | ||
|
|
||
| :``<nav2_controller plugin>``.path_length_tolerance: | ||
|
|
||
| ====== ======= | ||
| Type Default | ||
| ------ ------- | ||
| double 1.0 | ||
| ====== ======= | ||
|
|
||
| Description | ||
| Maximum path length to consider for goal checking (m). If the remaining path length exceeds this value, the goal check is skipped. This prevents premature goal acceptance when far from the goal. | ||
|
|
||
| :``<nav2_controller plugin>``.is_overshoot_valid: | ||
|
|
||
| ==== ======= | ||
| Type Default | ||
| ---- ------- | ||
| bool false | ||
| ==== ======= | ||
|
|
||
| Description | ||
| Whether to allow overshooting past the goal along the path direction. When false (default), uses ``fabs(projected_distance) < along_path_tolerance`` for symmetric tolerance. When true, uses ``projected_distance < along_path_tolerance``, allowing the robot to be any distance past the goal but still requiring it to be within tolerance if before the goal. | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.