Skip to content

Conversation

@mini-1235
Copy link
Contributor


Basic Info

Info Please fill out this column
Ticket(s) this addresses (add tickets here #1)
Primary OS tested on (Ubuntu, MacOS, Windows)
Robotic platform tested on (Steve's Robot, gazebo simulation of Tally, hardware turtlebot)
Does this PR contain AI generated software? (No; Yes and it is marked inline in the code)
Was this PR description generated by AI software? Out of respect for maintainers, AI for human-to-human communications are banned

Description of contribution in a few bullet points

related to ros2/geometry2#805, waiting for ros/rosdistro#46952 and a new release for rviz2 before this can be merged

Description of documentation updates required from your changes

Description of how this change was tested


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
  • Should this be backported to current distributions? If so, tag with backport-*.

@mergify
Copy link
Contributor

mergify bot commented Jul 22, 2025

@mini-1235, 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).

@SteveMacenski
Copy link
Member

@mini-1235 this doesn't seem to build on Rolling (nor then would I expect Jazzy or Kilted)

@mini-1235
Copy link
Contributor Author

mini-1235 commented Jul 22, 2025

@mini-1235 this doesn't seem to build on Rolling (nor then would I expect Jazzy or Kilted)

Yeah, the new binaries for geometry2 and rviz2 are not out yet, so the CI is complaining.

In my workspace, I have geometry2 built from source, and it is showing deprecated warnings, so I raise this PR

For Jazzy and kilted, we need to wait the original PR ros2/geometry2#805 to be backported

@SteveMacenski
Copy link
Member

Got it - I suppose this can wait until those binaries are up to date.

However, there's something you could do right now to make that easier. This doesn't work on Jazzy or Kilted unless those header changes are reflected in those distributions as well. You may want to right now have the preprocessor conditions for which to include so that we don't break Jazzy and Kilted (and something you can do now so those are green).

Given the scope of this, maybe we should consider having a (more than one?) header file in nav2_ros_common for TF that includes all the key TF packages & does the preprocessor condition for ROS 2 distribution there to remove the boilerplate across 88 files. If they're all part of the same targets, then including addition headers than needed should be OK since we're not linking against other libraries.

@mini-1235
Copy link
Contributor Author

I think the maintainer mentioned that the changes can be backported to Kilted/Jazzy ros2/geometry2#805 (comment), there is a pending PR here that is targeting to Jazzy ros2/geometry2#807, so I think we do not need those preprocessor conditions(?)

@SteveMacenski
Copy link
Member

SteveMacenski commented Jul 22, 2025

Yes, though we'd also need a backport for Kilted as well (and have them both merged and released)

Signed-off-by: mini-1235 <[email protected]>
@codecov
Copy link

codecov bot commented Aug 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
nav2_amcl/src/amcl_node.cpp 66.76% <ø> (ø)
...tree/plugins/action/truncate_path_local_action.hpp 100.00% <ø> (ø)
...ree/plugins/condition/are_poses_near_condition.hpp 100.00% <ø> (ø)
.../plugins/condition/distance_traveled_condition.hpp 100.00% <ø> (ø)
..._tree/plugins/condition/goal_reached_condition.hpp 100.00% <ø> (ø)
...lugins/condition/transform_available_condition.hpp 100.00% <ø> (ø)
...ior_tree/plugins/decorator/distance_controller.hpp 100.00% <ø> (ø)
...ee/include/nav2_behavior_tree/ros_topic_logger.hpp 100.00% <ø> (ø)
...tree/plugins/action/truncate_path_local_action.cpp 100.00% <ø> (ø)
...lugins/condition/transform_available_condition.cpp 92.00% <ø> (ø)
... and 29 more

... and 3 files with indirect coverage changes

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

@mini-1235
Copy link
Contributor Author

I think binaries for rolling have been released, but Jazzy&Kilted haven't

@SteveMacenski
Copy link
Member

Got it - stay tuned on the Discourse release announcements and we can retrigger those jobs. Happy to merge once passing!

@mini-1235 mini-1235 mentioned this pull request Aug 5, 2025
8 tasks
@SteveMacenski SteveMacenski merged commit c7884f5 into ros-navigation:main Aug 6, 2025
13 of 15 checks passed
tonynajjar added a commit to angsa-robotics/navigation2 that referenced this pull request Aug 7, 2025
SakshayMahna pushed a commit to SakshayMahna/navigation2 that referenced this pull request Aug 8, 2025
@doisyg
Copy link
Contributor

doisyg commented Aug 8, 2025

(fyi this seems to break building main under Jazzy)

@SteveMacenski
Copy link
Member

SteveMacenski commented Aug 8, 2025

I am aware, unfortunately the trade off was Rolling not building or Jazzy. For main I think Jazzy needs to be deprioritized, but there's a TF release / sync coming soon (ish) that should restate it. Its a temporary state of affairs

@doisyg
Copy link
Contributor

doisyg commented Aug 8, 2025

That's totally fine!
(If we keep the compatibility of main with the last ros2 non-rolling version, aka Kilted, that's already a massive helper)

@SteveMacenski
Copy link
Member

SteveMacenski commented Aug 8, 2025

It is / will be again once it has a sync to get the TF updates. Honestly, it would be nice if all the ROS distros synced on the same day or at least week for mass updates like this

@doisyg
Copy link
Contributor

doisyg commented Aug 8, 2025

Definitely!

@mini-1235 mini-1235 deleted the fix/deprecated-headers branch August 8, 2025 17:41
adivardi added a commit to enwaytech/navigation2 that referenced this pull request Aug 18, 2025
Until the geometry2 binaries for jazzy are released including ros2/geometry2#807

This reverts commit c7884f5.
adivardi added a commit to enwaytech/navigation2 that referenced this pull request Aug 27, 2025
adivardi added a commit to enwaytech/navigation2 that referenced this pull request Sep 3, 2025
BCKSELFDRIVEWORLD pushed a commit to BCKSELFDRIVEWORLD/navigation2 that referenced this pull request Sep 23, 2025
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.

3 participants