Skip to content

Addition of position goal checker, fix of rotation shim controller#5162

Merged
SteveMacenski merged 5 commits intoros-navigation:mainfrom
PrabhavSaxena:feature/pose_goal_checker
May 16, 2025
Merged

Addition of position goal checker, fix of rotation shim controller#5162
SteveMacenski merged 5 commits intoros-navigation:mainfrom
PrabhavSaxena:feature/pose_goal_checker

Conversation

@PrabhavSaxena
Copy link
Contributor

@PrabhavSaxena PrabhavSaxena commented May 15, 2025


Basic Info

Info Please fill out this column
Ticket(s) this addresses (add tickets here #5094 )
Primary OS tested on (Ubuntu)
Robotic platform tested on ( gazebo simulation of Tally)
Does this PR contain AI generated software? (No)

Description of contribution in a few bullet points

  • Added a new plugin called position_goal_checker, which checks only the xy tolerance and ignores the yaw tolerance. Used the same plugin internally in Rotation Shim Controller.

Description of documentation updates required from your changes

  • Added to documentation Link

Description of how this change was tested

  • Validated RotationShimController in turtlebot simulation

Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
@mergify
Copy link
Contributor

mergify bot commented May 15, 2025

@PrabhavSaxena, your PR has failed to build. Please check CI outputs and resolve issues.
You may need to rebase or pull in main due to API changes (or your contribution genuinely fails).

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
@codecov
Copy link

codecov bot commented May 16, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 23 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
nav2_controller/plugins/position_goal_checker.cpp 62.71% 22 Missing ⚠️
...m_controller/src/nav2_rotation_shim_controller.cpp 88.88% 1 Missing ⚠️
Files with missing lines Coverage Δ
.../nav2_controller/plugins/position_goal_checker.hpp 100.00% <100.00%> (ø)
..._shim_controller/nav2_rotation_shim_controller.hpp 100.00% <ø> (ø)
...m_controller/src/nav2_rotation_shim_controller.cpp 92.92% <88.88%> (-0.34%) ⬇️
nav2_controller/plugins/position_goal_checker.cpp 62.71% <62.71%> (ø)

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SteveMacenski SteveMacenski merged commit bd8f422 into ros-navigation:main May 16, 2025
13 of 14 checks passed
@mini-1235
Copy link
Collaborator

Can we backport this to Jazzy? :)

@SteveMacenski
Copy link
Member

I don't see why not

mergify bot pushed a commit that referenced this pull request May 19, 2025
…5162)

* added position goal checker plugin

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* updated rotation shim to use position goal checker

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed lint

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* added comments

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed dynamic parameter, CMake

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

---------

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
(cherry picked from commit bd8f422)

# Conflicts:
#	nav2_controller/CMakeLists.txt
#	nav2_rotation_shim_controller/CMakeLists.txt
#	nav2_rotation_shim_controller/include/nav2_rotation_shim_controller/nav2_rotation_shim_controller.hpp
#	nav2_rotation_shim_controller/package.xml
#	nav2_rotation_shim_controller/src/nav2_rotation_shim_controller.cpp
@mini-1235
Copy link
Collaborator

I don't see why not

Thanks @SteveMacenski !

@SteveMacenski
Copy link
Member

@mini-1235 it would not able to be autobackported #5176. Can you do a backport PR and I can merge that in?

@mini-1235
Copy link
Collaborator

@mini-1235 it would not able to be autobackported #5176. Can you do a backport PR and I can merge that in?

Sure

mini-1235 pushed a commit to mini-1235/navigation2 that referenced this pull request May 19, 2025
…os-navigation#5162)

* added position goal checker plugin

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* updated rotation shim to use position goal checker

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed lint

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* added comments

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed dynamic parameter, CMake

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

---------

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
SakshayMahna pushed a commit to SakshayMahna/navigation2 that referenced this pull request Jun 8, 2025
…os-navigation#5162)

* added position goal checker plugin

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* updated rotation shim to use position goal checker

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed lint

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* added comments

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

* fixed dynamic parameter, CMake

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>

---------

Signed-off-by: PrabhavSaxena <prabhavsaxena2003@gmail.com>
Signed-off-by: Sakshay Mahna <sakshum19@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants