Skip to content

Backport RouteTool RViz plugin to Jazzy (#5663) #5727

Merged
SteveMacenski merged 6 commits intoros-navigation:jazzyfrom
Prathmesh2931:jazzy
Dec 1, 2025
Merged

Backport RouteTool RViz plugin to Jazzy (#5663) #5727
SteveMacenski merged 6 commits intoros-navigation:jazzyfrom
Prathmesh2931:jazzy

Conversation

@Prathmesh2931
Copy link

Add missing newlines at end of route_tool files to pass CI linting checks.

@mergify
Copy link
Contributor

mergify bot commented Nov 26, 2025

@Prathmesh2931, all pull requests must be targeted towards the main development branch.
Once merged into main, it is possible to backport to @jazzy, but it must be in main
to have these changes reflected into new distributions.

Adds the RouteTool panel to nav2_rviz_plugins for creating and editing
route graphs in RViz2.

Changes:
- Add route_tool.hpp/cpp with Jazzy-compatible namespaces
- Add nav2_route dependency to nav2_rviz_plugins
- Fix nav2_route include export paths
- Add UI resources and launch files for RouteTool

Jazzy compatibility fixes:
- Use nav2_util::LifecycleNode instead of nav2::LifecycleNode
- Use rclcpp::Subscription instead of nav2::Subscription

Tested: Builds successfully, plugin loads in RViz2
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 4 files with indirect coverage changes

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

@Prathmesh2931
Copy link
Author

Hi maintainers,

I've addressed all the linting and DCO issues. All checks are now passing.
This PR adds missing newlines at the end of files and backports the RouteTool
RViz plugin to Jazzy as discussed. Ready for review when you have time.

Thanks!

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.

I assume you have tested all the features of this to verify that it works as expected?

Any notable changes in this file from the version in main so I can focus my review on areas that have diffs? Perhaps in brief bullets let me know what you changed in the route_tool.hpp/cpp files.

@SteveMacenski SteveMacenski linked an issue Nov 26, 2025 that may be closed by this pull request
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
Copy link
Collaborator

@mini-1235 mini-1235 left a comment

Choose a reason for hiding this comment

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

Please also rename the PR title

Otherwise LGTM as long as everything works correctly on your side

@Prathmesh2931
Copy link
Author

Prathmesh2931 commented Dec 1, 2025

Screenshot from 2025-12-01 14-16-31 @mini-1235 , I have fully tested out changes on rviz2 which you mentioned earlier and these is snapshot in regard of RouteTool plugin by adding node (0,0) .

@Prathmesh2931 Prathmesh2931 changed the title Fix linting: add newlines at end of files Backport RouteTool RViz plugin to Jazzy (#5663) Dec 1, 2025
- Changed nav2::LifecycleNode to nav2_util::LifecycleNode (correct namespace for jazzy)
- Fixed plugins_description.xml: changed base_class_type from rviz_common::Tool to rviz_common::Panel

Tested in RViz - plugin loads correctly and creates route graph nodes/edges.

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>
Copy link
Collaborator

@mini-1235 mini-1235 left a comment

Choose a reason for hiding this comment

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

LGTM

@Prathmesh2931
Copy link
Author

@SteveMacenski ,
Can you please review it and merge it ?
Thank you!

@SteveMacenski SteveMacenski merged commit 617ede9 into ros-navigation:jazzy Dec 1, 2025
11 checks passed
redvinaa pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request Mar 2, 2026
…avigation#5727)

* Backport RouteTool RViz plugin to Jazzy (ros-navigation#5663)

Adds the RouteTool panel to nav2_rviz_plugins for creating and editing
route graphs in RViz2.

Changes:
- Add route_tool.hpp/cpp with Jazzy-compatible namespaces
- Add nav2_route dependency to nav2_rviz_plugins
- Fix nav2_route include export paths
- Add UI resources and launch files for RouteTool

Jazzy compatibility fixes:
- Use nav2_util::LifecycleNode instead of nav2::LifecycleNode
- Use rclcpp::Subscription instead of nav2::Subscription

Tested: Builds successfully, plugin loads in RViz2
Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

* fix Linting: added newline at end of file

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

* Fix linting: remove blank line at end of Python file

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

* Fix uncrustify formatting for route_tool files

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

* Updated nav2_route/CMakeLists.txt to original Jazzy

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

* Fix RouteTool backport to jazzy

- Changed nav2::LifecycleNode to nav2_util::LifecycleNode (correct namespace for jazzy)
- Fixed plugins_description.xml: changed base_class_type from rviz_common::Tool to rviz_common::Panel

Tested in RViz - plugin loads correctly and creates route graph nodes/edges.

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@gmail.com>

---------

Signed-off-by: Prathmesh Atkale <atkaleprathmesh@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.

Backport of nav2_rviz_plugins::RouteTool plugin to Jazzy

3 participants