Repository navigation
feat(costmap2d): add AsymmetricInflationLayer costmap plugin for path-aware lane-keeping (backport #6118 & #6487) - #6688
Merged
SteveMacenski merged 2 commits intoOct 27, 2026
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
|
@mbloechli, all pull requests must be targeted towards the |
Backport of ros-navigation#6118. Upstream builds the layer on the distance transform InflationLayer from ros-navigation#5933, which Jazzy does not have, so the layer is ported onto Jazzy's InflationLayer instead: * Pass 1 uses Jazzy's InflationLayer::updateCosts for the symmetric baseline. Pass 2 matches upstream and uses distance_transform.hpp, taken unchanged from ros-navigation#5933. Nothing else from ros-navigation#5933 is backported, so Jazzy's InflationLayer keeps its implementation and class layout. * Parameters are declared with Layer::declareParameter, and a single on-set callback validates and applies them, as in Jazzy's other layers. * num_threads and the OpenMP loop are dropped, since Jazzy builds the layers without OpenMP. * plan_topic is resolved in the costmap's parent namespace inside the layer, because Jazzy's Layer has no joinWithParentNamespace. * Includes the null check on the first path message from ros-navigation#6281. * The benchmark is dropped, as Jazzy has no costmap benchmark suite. The tests follow the same changes: nav2_util::LifecycleNode, no activate, deactivate or num_threads cases, and a new case for rejecting negative parameters. (cherry picked from commit 6a8161e) Signed-off-by: mbloechli <[email protected]>
Backport of ros-navigation#6487. The integration tests initialised and shut down rclcpp from a global fixture, which ran at process exit and hung under Zenoh. main() now owns rclcpp::init and rclcpp::shutdown, and the fixture's TearDown releases the layer, costmap, TF buffer and node first. Resolved against Jazzy's nav2_util::LifecycleNode and tf2_ros::Buffer members. (cherry picked from commit f31c7f4) Signed-off-by: mbloechli <[email protected]>
mbloechli
force-pushed
the
feat/asymmetric-inflation-layer-jazzy
branch
from
October 23, 2026 19:24
d7d66fd to
3ea8f65
Compare
Codecov Report❌ Patch coverage is
... and 82 files with indirect coverage changes 🚀 New features to boost your workflow:
|
SteveMacenski
approved these changes
Oct 27, 2026
Rooteq
pushed a commit
to Rooteq/navigation2
that referenced
this pull request
Nov 9, 2026
…-aware lane-keeping (backport ros-navigation#6118 & ros-navigation#6487) (ros-navigation#6688) * feat(nav2_costmap_2d): backport AsymmetricInflationLayer to Jazzy Backport of ros-navigation#6118. Upstream builds the layer on the distance transform InflationLayer from ros-navigation#5933, which Jazzy does not have, so the layer is ported onto Jazzy's InflationLayer instead: * Pass 1 uses Jazzy's InflationLayer::updateCosts for the symmetric baseline. Pass 2 matches upstream and uses distance_transform.hpp, taken unchanged from ros-navigation#5933. Nothing else from ros-navigation#5933 is backported, so Jazzy's InflationLayer keeps its implementation and class layout. * Parameters are declared with Layer::declareParameter, and a single on-set callback validates and applies them, as in Jazzy's other layers. * num_threads and the OpenMP loop are dropped, since Jazzy builds the layers without OpenMP. * plan_topic is resolved in the costmap's parent namespace inside the layer, because Jazzy's Layer has no joinWithParentNamespace. * Includes the null check on the first path message from ros-navigation#6281. * The benchmark is dropped, as Jazzy has no costmap benchmark suite. The tests follow the same changes: nav2_util::LifecycleNode, no activate, deactivate or num_threads cases, and a new case for rejecting negative parameters. (cherry picked from commit 6a8161e) Signed-off-by: mbloechli <[email protected]> * test(nav2_costmap_2d): clean up rclcpp in asymmetric inflation tests Backport of ros-navigation#6487. The integration tests initialised and shut down rclcpp from a global fixture, which ran at process exit and hung under Zenoh. main() now owns rclcpp::init and rclcpp::shutdown, and the fixture's TearDown releases the layer, costmap, TF buffer and node first. Resolved against Jazzy's nav2_util::LifecycleNode and tf2_ros::Buffer members. (cherry picked from commit f31c7f4) Signed-off-by: mbloechli <[email protected]> --------- Signed-off-by: mbloechli <[email protected]> Co-authored-by: Tony Najjar <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Basic Info
Description of contribution in a few bullet points
For Maintainers:
backport-*.