Skip to content

Update tf2 ros headers #5381

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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-*.

Signed-off-by: mini-1235 <mauricepurnawan@gmail.com>
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)

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.

2 participants