Skip to content

Migrate geometry_msgs/PoseStampedArray to nav_msgs/Goals#4980

Merged
SteveMacenski merged 8 commits intoros-navigation:mainfrom
leander-dsouza:migrate_nav_goal_msg
Mar 17, 2025
Merged

Migrate geometry_msgs/PoseStampedArray to nav_msgs/Goals#4980
SteveMacenski merged 8 commits intoros-navigation:mainfrom
leander-dsouza:migrate_nav_goal_msg

Conversation

@leander-dsouza
Copy link
Contributor


Basic Info

Info Please fill out this column
Ticket(s) this addresses #4976
Primary OS tested on Ubuntu
Robotic platform tested on N/A
Does this PR contain AI generated software? No

Description of contribution in a few bullet points

  • Migrated geometry_msgs/msg/PoseStampedArray to nav_msgs/msg/Goals across the codebase.

Description of documentation updates required from your changes

  • The migration guide from Jazzy to Kilted needs to be updated for BT Nodes to use nav_msgs/msg/Goals instead.

Description of how this change was tested

  • Syntax migration tested through a simple colcon build from the workspace.
  • Unit tests were run using colcon test.

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

@leander-dsouza leander-dsouza changed the title Migrate geometry_msgs/msg/PoseStampedArray to nav_msgs/msg/Goals Migrate geometry_msgs/PoseStampedArray to nav_msgs/Goals Mar 11, 2025
@leander-dsouza leander-dsouza marked this pull request as ready for review March 11, 2025 22:47
@leander-dsouza leander-dsouza marked this pull request as draft March 11, 2025 23:15
@SteveMacenski
Copy link
Member

Check CI - a few tests failed with legit problems that a couple of spots were missed 😄

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
… to nav_msg goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
@codecov
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
...avior_tree/include/nav2_behavior_tree/bt_utils.hpp 100.00% <100.00%> (ø)
...ugins/action/compute_path_through_poses_action.hpp 100.00% <100.00%> (ø)
...e/plugins/action/navigate_through_poses_action.hpp 100.00% <100.00%> (ø)
...lugins/action/remove_in_collision_goals_action.hpp 100.00% <100.00%> (ø)
...tree/plugins/action/remove_passed_goals_action.hpp 100.00% <100.00%> (ø)
...gins/condition/globally_updated_goal_condition.hpp 100.00% <100.00%> (ø)
..._tree/plugins/condition/goal_updated_condition.hpp 100.00% <100.00%> (ø)
...tree/plugins/decorator/goal_updated_controller.hpp 100.00% <100.00%> (ø)
...avior_tree/plugins/decorator/goal_updater_node.hpp 100.00% <100.00%> (ø)
...havior_tree/plugins/decorator/speed_controller.hpp 100.00% <100.00%> (ø)
... and 9 more

... and 6 files with indirect coverage changes

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

@leander-dsouza
Copy link
Contributor Author

Check CI - a few tests failed with legit problems that a couple of spots were missed 😄

It should be fixed now :)
I had not migrated nav2_system_tests earlier to have the new message.

@leander-dsouza leander-dsouza marked this pull request as ready for review March 12, 2025 01:16
Copy link
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tonynajjar this is your feature, can you validate that this works for you too? I did the code review and have no notes. I think its ready to go in once you're OK with it.

It just changes the name of the message essentially (and poses to goals) as Tully moved it to nav_msgs to be more semantically meaningful

Copy link
Contributor

@tonynajjar tonynajjar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. reminder to also update the docs: ros-navigation/docs.nav2.org#630

@SteveMacenski
Copy link
Member

Good point. @leander-dsouza can you open a docs PR to change the type to the new one? Then I can merge the pair!

@leander-dsouza
Copy link
Contributor Author

Yes, sure @SteveMacenski :)
I should be able to do it soon.

@leander-dsouza
Copy link
Contributor Author

@SteveMacenski I have created a docs PR over here addressing the message migration.

@SteveMacenski SteveMacenski merged commit 0179f97 into ros-navigation:main Mar 17, 2025
11 checks passed
@SteveMacenski
Copy link
Member

Thanks!! This is really nice to have in and done, I appreciate your help! Let me know if you'd like to work on anything else and/or if I can help find something :-)

@leander-dsouza
Copy link
Contributor Author

I would love that @SteveMacenski :)
I am eager to find ways to help contribute to open source.

@SteveMacenski
Copy link
Member

I think #4990 and building into #4828 would be two really good next steps that help get issues off our issue tracker queue and improve our behavior and tooling!

@leander-dsouza
Copy link
Contributor Author

Thank you for your suggestions, Steve!
I will work on #4990 and then proceed with #4828.

Nils-ChristianIseke pushed a commit to Nils-ChristianIseke/navigation2 that referenced this pull request Mar 21, 2025
…igation#4980)

* Migrated bt_utils and related files to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updater_node to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated remove_passed_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated globally_updated_goal_condition to nav_msg goals.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updated_condition to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate remove_in_collision_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated navigate_through_poses and compute_path_through_poses_action to nav_msg goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate nav2_system_tests to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

---------

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Nils-ChristianIseke <nilsmailiseke@gmail.com>
stevedanomodolor pushed a commit to stevedanomodolor/navigation2 that referenced this pull request Apr 29, 2025
…igation#4980)

* Migrated bt_utils and related files to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updater_node to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated remove_passed_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated globally_updated_goal_condition to nav_msg goals.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updated_condition to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate remove_in_collision_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated navigate_through_poses and compute_path_through_poses_action to nav_msg goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate nav2_system_tests to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

---------

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: stevedanomodolor <stevedan.o.omodolor@gmail.com>
SakshayMahna pushed a commit to SakshayMahna/navigation2 that referenced this pull request Jun 8, 2025
…igation#4980)

* Migrated bt_utils and related files to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updater_node to use nav2_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated remove_passed_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated globally_updated_goal_condition to nav_msg goals.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated goal_updated_condition to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate remove_in_collision_goals_action to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrated navigate_through_poses and compute_path_through_poses_action to nav_msg goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

* Migrate nav2_system_tests to use nav_msgs goal.

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>

---------

Signed-off-by: Leander Stephen D'Souza <leanderdsouza1234@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert geometry_msgs/msg/PoseStampedArray to nav_msgs/msg/Goals

3 participants