Skip to content

Conversation

@leander-dsouza
Copy link
Contributor

@leander-dsouza leander-dsouza commented Sep 30, 2025


Basic Info

Info Please fill out this column
Ticket(s) this addresses Fixes the system_build job
Primary OS tested on Ubuntu
Robotic platform tested on N/A
Does this PR contain AI-generated software? No
Was this PR description generated by AI software? No

Description of contribution in a few bullet points

  • Migrated to use the heap allocation over stack due to the new NodeInterfaces API for TransformBroadcaster enforced in ros2/geometry2.

Description of documentation updates required from your changes

  • N/A

Description of how this change was tested

  • The local build of nav2_route now passes locally - colcon build --packages-select nav2_route.

Future work that may be required in bullet points

  • N/A

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

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.

For Kilted/Jazzy support these should be #ifdef ed like the other TF message filter work for API changes so we can support all on the branch

@leander-dsouza leander-dsouza force-pushed the migrate-to-node-interfaces branch from 78b9d6f to 693a327 Compare September 30, 2025 20:43
@SteveMacenski
Copy link
Member

Why do these seem to work?

Maybe just needs node->shared_from_this()?

@leander-dsouza leander-dsouza force-pushed the migrate-to-node-interfaces branch from 693a327 to c879dbd Compare September 30, 2025 21:04
@leander-dsouza leander-dsouza changed the title Migrate TransformBroadcaster to use the new NodeInterfaces API. Migrate TransformBroadcaster to use shared_ptr Sep 30, 2025
@leander-dsouza
Copy link
Contributor Author

Why do these seem to work?

Apologies for the oversight. We can use this approach instead of the stack allocation earlier.

@leander-dsouza leander-dsouza force-pushed the migrate-to-node-interfaces branch from c879dbd to d281630 Compare September 30, 2025 21:12
@leander-dsouza leander-dsouza marked this pull request as ready for review September 30, 2025 21:18
@SteveMacenski SteveMacenski merged commit 9ed832e into ros-navigation:main Sep 30, 2025
13 of 14 checks passed
SakshayMahna pushed a commit to SakshayMahna/navigation2 that referenced this pull request Oct 4, 2025
silanus23 pushed a commit to silanus23/navigation2 that referenced this pull request Oct 10, 2025
silanus23 pushed a commit to silanus23/navigation2 that referenced this pull request Oct 11, 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.

2 participants