Skip to content

bt_navigator_***_rclcpp_node - Namespacing + NodeOptions forwarding #5310

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 3 commits into
base: main
Choose a base branch
from

Conversation

roncapat
Copy link
Contributor

Closes #5242
Inspired by: #5202
AI generated software: NO

  • bt_navigator_***_rclcpp_node now gets the same namespace of bt_navigator
  • bt_navigator_***_rclcpp_node now gets the same node options of bt_navigator (apart from node name, that is still forced to respect the pattern bt_navigator_***_rclcpp_node )

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

Closes ros-navigation#5242 
Inspired by: ros-navigation#5202 

- `bt_navigator_***_rclcpp_node` now gets the same namespace of  `bt_navigator`
- `bt_navigator_***_rclcpp_node` now gets the same node options of  `bt_navigator` (apart from node name, that is still forced to respect the pattern `bt_navigator_***_rclcpp_node` )

Signed-off-by: Patrick Roncagliolo <[email protected]>
Copy link

codecov bot commented Jun 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
...clude/nav2_behavior_tree/bt_action_server_impl.hpp 90.21% <100.00%> (+0.44%) ⬆️

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

@roncapat
Copy link
Contributor Author

replaceOrAddParameter has been copied, at least for now, in this file. @SteveMacenski could we move it somewhere else to deduplicate code?

@SteveMacenski
Copy link
Member

Yeah, put that in the node_utils file in nav2_ros_common with doxygen for usage and can merge!

Moved to `nav2_ros_common/node_utils.hpp`, namespace `nav2`
Copy link
Contributor

mergify bot commented Jun 28, 2025

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

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.

bt_navigator_***_rclcpp_node - Allow remapping
2 participants