Skip to content

Update obstacle layer usage of max ranges - #5697

Merged
SteveMacenski merged 15 commits into
ros-navigation:mainfrom
KudanLimited:sdathan/update-obstacle-layer-usage-of-max-range
Dec 9, 2025
Merged

SteveMacenski merged 15 commits into
ros-navigation:mainfrom
KudanLimited:sdathan/update-obstacle-layer-usage-of-max-range

Conversation

@sd-kudan

Copy link
Copy Markdown
Contributor

Basic Info

Info Please fill out this column
Ticket(s) this addresses #5476
Primary OS tested on Ubuntu
Robotic platform tested on gazebo simulation
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

To address issue reported in #5476 of obstacles being cleared when reversing away from them, the following changes are made:

  • When marking obstacles from new observations, the check against obstacle_max_range is done in grid cell space for consistency with the ray tracing free space check against raytrace_max_range
  • When ray tracing, excluded the cell containing the observation point so that an obstacle is not cleared if it is present in the current measurement but raytrace_max_range > obstacle_max_range

Description of documentation updates required from your changes

Description of how this change was tested

  • Unit tests added for obstacle layer marking and clearing
  • Tested in gazebo simulation

Demo

Before:

obstacle_layer_clearing.mp4

After:

obstacle_layer.mp4

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

@mergify

mergify Bot commented Nov 20, 2025

Copy link
Copy Markdown
Contributor

@sd-kudan, 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
Copy Markdown
Member

Can you rebase / pull in main (we squash merge anyways) to get CI to turn over? I want to see the tests pass before I dig in. I'm going to need to really dive into code surrounding this for a full review since its a big change with subtle potential issues, so before I do that I want to make sure automated testing doesn't already flag issues that makes my time unnecessary :-)

@sd-kudan
sd-kudan force-pushed the sdathan/update-obstacle-layer-usage-of-max-range branch from be10620 to cea3222 Compare November 25, 2025 09:25
Signed-off-by: Simon Dathan <[email protected]>
@codecov

codecov Bot commented Nov 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
nav2_costmap_2d/plugins/obstacle_layer.cpp 82.67% <100.00%> (+0.43%) ⬆️

... and 5 files with indirect coverage changes

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

@SteveMacenski SteveMacenski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think you have some functional problems here - as well as a few stylistic thing we should clean up that linters / ROS styling doesn't support

Comment on lines +802 to +805
// Reduce the observation distance by 1 cell so that the cell containing the
// observation is not cleared
cell_raytrace_max_range =
std::min(cell_raytrace_max_range, observation_dist - 1);

@SteveMacenski SteveMacenski Dec 4, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please remove - I'm not sure this is important considering the marking observation is triggered after the clearing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I just wanted to check - I had added this to handle the case where raytrace_max_range > obstacle_max_range. In that case the cell might not be subsequently marked. Setting raytrace_max_range > obstacle_max_range helps avoid ghost obstacles lingering in the map when an obstacle is moving away from the sensor.
If that's not the behavior you'd expect with this configuration I'll remove.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That does beg a question, I agree. If the marking reading doesn't meet obstacle_max_range, then its not going to be marked no matter what. I don't think it makes sense to cull clearing when marking was set not to cover this spectrum.

I agree that I would be concerned about if they were equal and some small casting error resulted in marking being OOB but clearing was able to happen, but I think that as something in this PR we can make sure we compute the same as to make sure this doesn't happen.

We do marking after clearing, so I think there's not a validly possible case that this should cover:

  1. Mark after clear, so if marking is possible, it should mark even if cleared previously
  2. If the ranges are the same, we should ensure in this PR that there's no floating point / casting error that would result in a clearing operation that marking doesn't also cover, as a point of technical correctness
  3. If the obstacle range is smaller, then we know that we're going to clearing marked things 1-N cells further, so that seems like an intentional choice of settings

But, please, push back if I'm missing a key detail that you're looking out for

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think it comes down to interpretation of what should happen when raytracing and what a "clearing observation" means. My expectation is to clear up to but excluding the cell containing the observed point, since we have no evidence that the cell is empty. So for point 3, if we have an observation beyond obstacle_max_range I wouldn't expect it to be cleared, even though we have decided not to mark it. Happy to remove if you disagree or if you think it could cause problems.

@SteveMacenski SteveMacenski Dec 8, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should remove in this context. I generally agree with you, but this is 10+ year old code and I'd rather not disrupt things too much in such a sensitive location in the codebase. Unless there's a bug, I'd like to avoid potentially creating one for some subset of users that use the clearing / marking in unique ways.

One way I think this could fail is when the raymarching is aliased due to the ray not being aligned with the cell axes. If we back out one full cell, that could actually be multiple cells that are hit. I think our raycasting uses full 1 cell increments so it wouldn't change, but if we did it in say 0.5 cells (or later changed it to another GPU accelerated library with finer checks), then we'd have an obstacle that should have been cleared because we didn't raycast far enough.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Understood - I have removed this. I have also removed skipping raytracing the origin cell when observation_dist == 0 as it's just handling a special case of this change. See #5697 (comment)

@SteveMacenski

Copy link
Copy Markdown
Member

Last question: casting values always truncates the number, so for observation_dist, is it intended to always be the shortest and not round?

@sd-kudan

sd-kudan commented Dec 4, 2025

Copy link
Copy Markdown
Contributor Author

Last question: casting values always truncates the number, so for observation_dist, is it intended to always be the shortest and not round?

Yes - I think truncation is consistent as that's what is done in raytraceLine. However I think this highlights a problem with my usage of squared distance - discritization is different in squared cell space. I've updated to use std::hypot instead, let me know if you think this is more appropriate.

@mini-1235

Copy link
Copy Markdown
Collaborator

@sd-kudan, please pull in / rebase main, we had some CI issues earlier

@SteveMacenski

Copy link
Copy Markdown
Member

@mini-1235 see the failure now

@mini-1235

Copy link
Copy Markdown
Collaborator

@mini-1235 see the failure now

I'm aware, but still unable to reproduce this locally 🫠

@SteveMacenski SteveMacenski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Otherwise LGTM

Sorry for these death-by-a-thousand-cuts reviews. I really do appreciate this! I promise other less low-level things will be easier in the future 😉

Signed-off-by: Simon Dathan <[email protected]>
@SteveMacenski

SteveMacenski commented Dec 8, 2025 •

Copy link
Copy Markdown
Member

See #5697 (comment) and then we can merge :-)

@SteveMacenski
SteveMacenski merged commit 80b72d2 into ros-navigation:main Dec 9, 2025
@SteveMacenski

Copy link
Copy Markdown
Member

Merged!

Again, sorry about the death by a thousand cuts. That is really not the experience I try to have with developers. I appreicate your willingness to iterate. I expect future contributions to be easier 😉

@sd-kudan

Copy link
Copy Markdown
Contributor Author

Again, sorry about the death by a thousand cuts.

No problem, got there in the end 😄

decwest pushed a commit to decwest/navigation2 that referenced this pull request Dec 10, 2025
* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
@sd-kudan

Copy link
Copy Markdown
Contributor Author

Hi @SteveMacenski what is the process for backporting? Should I create a PR for jazzy?

@mini-1235

mini-1235 commented Dec 11, 2025 •

Copy link
Copy Markdown
Collaborator

@sd-kudan Yes, please open a manual backport PR to Jazzy. I can see there are some conflicts when cherry-picking, so we can't use the Mergify bot for this one

sd-kudan added a commit to KudanLimited/navigation2 that referenced this pull request Dec 11, 2025
* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
decwest pushed a commit to decwest/navigation2 that referenced this pull request Dec 11, 2025
* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Decwest <[email protected]>
SteveMacenski pushed a commit that referenced this pull request Dec 11, 2025
* Update obstacle layer usage of max ranges (#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
pele1410 pushed a commit to Metal-Shark-Sharktech/navigation2 that referenced this pull request Dec 30, 2025
* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
SteveMacenski pushed a commit that referenced this pull request Jan 24, 2026
* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
SteveMacenski added a commit that referenced this pull request Jan 24, 2026
* No need to spam the logs (#5674)

Signed-off-by: Tim Clephas <[email protected]>

* Conditionally call onLoop based on node status (#5700)

Signed-off-by: Steve Macenski <[email protected]>

* Allow for no progress checkers to be configured (#5701)

Signed-off-by: SteveMacenski <[email protected]>

* Fix: wait for drive_on_heading_client instead of backup_client (#5724)

The basic navigator was waiting for the backup_client in the
driveOnHeading function.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* Fix: reset controller_server loop_rate when missed desired rate #5712 (#5723)

When a single iteration takes longer than the expected period,
this impacts the next iterations behavior since they will have
less time to perform the control logic, thus increasing the actual
controller_frequency. By resetting the loop_rate on sleep() failure,
this ensures that each iteration will have a full period to exectue its
logic.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* temporary fix bug null pointer (#5749)

* temporary fix bug null pointer

Signed-off-by: suifengersan123 <[email protected]>

* add return

Signed-off-by: suifengersan123 <[email protected]>

* remove return

Signed-off-by: suifengersan123 <[email protected]>

---------

Signed-off-by: suifengersan123 <[email protected]>

* fix: change warning to exception when goal poses cannot be transformed (#5759)

- Replace RCLCPP_WARN with std::runtime_error exception in onPreempt method
- Remove bt_action_server_->terminatePendingGoal() call after accepting goal
- Add required stdexcept include for exception handling

Fixes issue where navigators accept pending goal but are not properly
terminated if rejected during goal pose transformation.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Update obstacle layer usage of max ranges (#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* [mppi] Don't reset zone-based speed limits (#5768)

* [mppi] Don't reset zone-based speed limits

Signed-off-by: Adi Vardi <[email protected]>

* [mppi] update motion model params from speed_limit

Signed-off-by: Adi Vardi <[email protected]>

* fix linting issue

Signed-off-by: Adi Vardi <[email protected]>

* Revert: reset speed limits after param change

Signed-off-by: Adi Vardi <[email protected]>

---------

Signed-off-by: Adi Vardi <[email protected]>

* Bugfix inactive publishers (#5748)

* Do not publish costmap unless active

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Fix typo

Signed-off-by: Christopher Thompson <[email protected]>

* Use layers isEnabled() to prevent publishing

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Add missing include for CostmapLayer type

Signed-off-by: Christopher Thompson <[email protected]>

* Remove extra scoping

Signed-off-by: Christopher Thompson <[email protected]>

---------

Signed-off-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>

* Fix MAX_NON_OBSTACLE_COST in theta star planner (#5865)

Signed-off-by: mini-1235 <[email protected]>

* Bump jazzy to 1.3.11 for release

Signed-off-by: SteveMacenski <[email protected]>

---------

Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: SteveMacenski <[email protected]>
Signed-off-by: agennart <[email protected]>
Signed-off-by: suifengersan123 <[email protected]>
Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Tim Clephas <[email protected]>
Co-authored-by: Saitama <[email protected]>
Co-authored-by: agennart <[email protected]>
Co-authored-by: suifengersan123 <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Simon Dathan <[email protected]>
Co-authored-by: Adi Vardi <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>
mini-1235 pushed a commit to mini-1235/navigation2 that referenced this pull request Jan 24, 2026
…ion#5775)

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
SteveMacenski pushed a commit that referenced this pull request Jan 24, 2026
)

* Backport jazzy: Update obstacle layer usage of max range (#5775)

* Update obstacle layer usage of max ranges (#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: mini-1235 <[email protected]>

* Remove unrelated changes

Signed-off-by: mini-1235 <[email protected]>

* Lint

Signed-off-by: mini-1235 <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Simon Dathan <[email protected]>
redvinaa pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request Mar 2, 2026
…ion#5775)

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
redvinaa pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request Mar 2, 2026
* No need to spam the logs (ros-navigation#5674)

Signed-off-by: Tim Clephas <[email protected]>

* Conditionally call onLoop based on node status (ros-navigation#5700)

Signed-off-by: Steve Macenski <[email protected]>

* Allow for no progress checkers to be configured (ros-navigation#5701)

Signed-off-by: SteveMacenski <[email protected]>

* Fix: wait for drive_on_heading_client instead of backup_client (ros-navigation#5724)

The basic navigator was waiting for the backup_client in the
driveOnHeading function.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* Fix: reset controller_server loop_rate when missed desired rate ros-navigation#5712 (ros-navigation#5723)

When a single iteration takes longer than the expected period,
this impacts the next iterations behavior since they will have
less time to perform the control logic, thus increasing the actual
controller_frequency. By resetting the loop_rate on sleep() failure,
this ensures that each iteration will have a full period to exectue its
logic.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* temporary fix bug null pointer (ros-navigation#5749)

* temporary fix bug null pointer

Signed-off-by: suifengersan123 <[email protected]>

* add return

Signed-off-by: suifengersan123 <[email protected]>

* remove return

Signed-off-by: suifengersan123 <[email protected]>

---------

Signed-off-by: suifengersan123 <[email protected]>

* fix: change warning to exception when goal poses cannot be transformed (ros-navigation#5759)

- Replace RCLCPP_WARN with std::runtime_error exception in onPreempt method
- Remove bt_action_server_->terminatePendingGoal() call after accepting goal
- Add required stdexcept include for exception handling

Fixes issue where navigators accept pending goal but are not properly
terminated if rejected during goal pose transformation.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* [mppi] Don't reset zone-based speed limits (ros-navigation#5768)

* [mppi] Don't reset zone-based speed limits

Signed-off-by: Adi Vardi <[email protected]>

* [mppi] update motion model params from speed_limit

Signed-off-by: Adi Vardi <[email protected]>

* fix linting issue

Signed-off-by: Adi Vardi <[email protected]>

* Revert: reset speed limits after param change

Signed-off-by: Adi Vardi <[email protected]>

---------

Signed-off-by: Adi Vardi <[email protected]>

* Bugfix inactive publishers (ros-navigation#5748)

* Do not publish costmap unless active

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Fix typo

Signed-off-by: Christopher Thompson <[email protected]>

* Use layers isEnabled() to prevent publishing

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Add missing include for CostmapLayer type

Signed-off-by: Christopher Thompson <[email protected]>

* Remove extra scoping

Signed-off-by: Christopher Thompson <[email protected]>

---------

Signed-off-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>

* Fix MAX_NON_OBSTACLE_COST in theta star planner (ros-navigation#5865)

Signed-off-by: mini-1235 <[email protected]>

* Bump jazzy to 1.3.11 for release

Signed-off-by: SteveMacenski <[email protected]>

---------

Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: SteveMacenski <[email protected]>
Signed-off-by: agennart <[email protected]>
Signed-off-by: suifengersan123 <[email protected]>
Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Tim Clephas <[email protected]>
Co-authored-by: Saitama <[email protected]>
Co-authored-by: agennart <[email protected]>
Co-authored-by: suifengersan123 <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Simon Dathan <[email protected]>
Co-authored-by: Adi Vardi <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>
RBT22 pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request May 28, 2026
* Backport RouteTool RViz plugin to Jazzy (ros-navigation#5663)  (ros-navigation#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 <[email protected]>

* fix Linting: added newline at end of file

Signed-off-by: Prathmesh Atkale <[email protected]>

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

Signed-off-by: Prathmesh Atkale <[email protected]>

* Fix uncrustify formatting for route_tool files

Signed-off-by: Prathmesh Atkale <[email protected]>

* Updated nav2_route/CMakeLists.txt to original Jazzy

Signed-off-by: Prathmesh Atkale <[email protected]>

* 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 <[email protected]>

---------

Signed-off-by: Prathmesh Atkale <[email protected]>

* Backport GetCurrentPose, ArePosesNear, and ConcatenatePaths BT nodes for Route Server in Jazzy, and minimal BT for navigation. (ros-navigation#5755)

* Backported GetCurrentPose, ConcatenatePaths and ArePosesNear BT nodes to Jazzy

Signed-off-by: Pau Reverté <[email protected]>

* Created minimum BT for navigation using RouteServer, without replanning

Signed-off-by: Pau Reverté <[email protected]>

* GetCurrentPose and ArePosesNear use deconflictPortAndParamFile for frames

Signed-off-by: Pau Reverté <[email protected]>

* Apply cpplint and uncrustify formatting corrections for new BT nodes

Signed-off-by: Pau Reverté <[email protected]>

* Original copyright

Signed-off-by: Pau Reverté <[email protected]>

* Added test for GetCurrentPose, ConcatenatePaths and ArePosesNear

Signed-off-by: Pau Reverté <[email protected]>

* Correct copyright for GetCurrentPose

Signed-off-by: Pau Reverté <[email protected]>

* GetCurrentPose heritages from BT::ActionNodeBase

Signed-off-by: Pau Reverté <[email protected]>

* ArePosesNear uses isStatusActive

Signed-off-by: Pau Reverté <[email protected]>

* Added route_server to server_handler for BT test in building

Signed-off-by: Pau Reverté <[email protected]>

* GetCurrentPose, ArePosesNear and ConcatenatePaths closer to main branch structure

Signed-off-by: Pau Reverté <[email protected]>

* Removed new BT with routes and nav2_system_tests additions for testing this tree, back to original

Signed-off-by: Pau Reverté <[email protected]>

* Removed override of halt function for get_current_pose_action.cpp

Signed-off-by: Pau Reverté <[email protected]>

* Removed default values for input ports of GetCurrentPose

Signed-off-by: Pau Reverté <[email protected]>

---------

Signed-off-by: Pau Reverté <[email protected]>

* Groot monitoring support back ported to jazzy (ros-navigation#5762)

* Groot monitoring support back ported to jazzy

Signed-off-by: Mike Slembrouck <[email protected]>

* add test_json_utils to CMakeLists.txt

Signed-off-by: mikeslembrouckZYGO <[email protected]>
Signed-off-by: Mike Slembrouck <[email protected]>

* Remove WaypointStatus tests from JsonTest

Removed tests related to WaypointStatus from JsonTest class.

Signed-off-by: mikeslembrouckZYGO <[email protected]>
Signed-off-by: Mike Slembrouck <[email protected]>

* Add JSON parsing support for key conversion in bt_utils

Signed-off-by: Mike Slembrouck <[email protected]>

* Add Groot monitoring support in system tests and parameters

Signed-off-by: Mike Slembrouck <[email protected]>

* Fix uncrustify and flake8 errors

Signed-off-by: Mike Slembrouck <[email protected]>

* Fix extra blank line in nav_to_pose_tester_node.py

Signed-off-by: Mike Slembrouck <[email protected]>

* Remove unused Groot-related code and parameters

Signed-off-by: Mike Slembrouck <[email protected]>

* Add JSON type registration for ports in behavior tree plugins

Signed-off-by: Mike Slembrouck <[email protected]>

* Update JSON type registration to use `std::vector<geometry_msgs::msg::PoseStamped>` instead of `nav_msgs::msg::Goals`

Signed-off-by: Mike Slembrouck <[email protected]>

* Include `json_export` header in behavior tree plugins to enable JSON export functionality

Signed-off-by: Mike Slembrouck <[email protected]>

* Revert header include order

Signed-off-by: Mike Slembrouck <[email protected]>

* Remove unnecessary blank line in header file

Signed-off-by: mikeslembrouckZYGO <[email protected]>

* Remove extra blank lines

Signed-off-by: Mike Slembrouck <[email protected]>

---------

Signed-off-by: Mike Slembrouck <[email protected]>
Signed-off-by: mikeslembrouckZYGO <[email protected]>

* Backport jazzy: Update obstacle layer usage of max range (ros-navigation#5775)

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* fix typo in route tool plugin name (ros-navigation#5809)

Signed-off-by: EricoMeger <[email protected]>

* fix Z base frame transformation (ros-navigation#5794) (ros-navigation#5815)

(cherry picked from commit 4534ff1)

Signed-off-by: Guillaume Doisy <[email protected]>
Co-authored-by: Guillaume Doisy <[email protected]>
Co-authored-by: Guillaume Doisy <[email protected]>

* Fix initialize in drive on heading action node (ros-navigation#5842)

Signed-off-by: Maurice <[email protected]>
Co-authored-by: Johannes Plapp <[email protected]>

* Add symmetric goal for goal checker and mppi goal angle critic (ros-navigation#5833) (ros-navigation#5848)

* Add symmetric goal for goal checker and mppi goal angle critic




* Lint



* Update nav2_mppi_controller/README.md




---------

Signed-off-by: mini-1235 <[email protected]>
Signed-off-by: Maurice Alexander Purnawan <[email protected]>
Co-authored-by: Sandeep Dutta <[email protected]>
Co-authored-by: Steve Macenski <[email protected]>

* [Jazzy] Optimize MPPI visualization to skip processing when no subscribers (ros-navigation#5807)

* Optimize MPPI visualization to skip processing when no subscribers

- Added subscription count check in TrajectoryVisualizer::add

Signed-off-by: SatArw <[email protected]>

* Update nav2_mppi_controller/src/trajectory_visualizer.cpp

Remove redundant brackets in the if statement.

Co-authored-by: Steve Macenski <[email protected]>
Signed-off-by: Satwik Arawalli <[email protected]>

---------

Signed-off-by: SatArw <[email protected]>
Signed-off-by: Satwik Arawalli <[email protected]>
Co-authored-by: Steve Macenski <[email protected]>

* Add new parameter to nav2_velocity_smoother to also smooth the timestamp of TwistStamped messages (ros-navigation#5858)

* Add new parameter to nav2_velocity_smoother that updates the timestamp of the smoothed velocity header message

Signed-off-by: Andrei Costinescu <[email protected]>

* Update parameter description of stamp_smoothed_velocity_with_smoothing_time in nav2_velocity_smoother/README.md

Signed-off-by: Andrei Costinescu <[email protected]>

* Add new parameter stamp_smoothed_velocity_with_smoothing_time in parameter examples in nav2_bringup

Signed-off-by: Andrei Costinescu <[email protected]>

* Fix lines too long cpplint issues in velocity_smoother.cpp

Signed-off-by: Andrei Costinescu <[email protected]>

* Rephrase parameter description for improved clarity

Signed-off-by: Andrei Costinescu <[email protected]>

* Rename delta time variable for clarity.

Signed-off-by: Andrei Costinescu <[email protected]>

* Make the time-smoothing computation more concise.

Signed-off-by: Andrei Costinescu <[email protected]>

* Change code to 1) not write the timestamp in the cmd_vel->header twice and 2) make the difference explicit between using and not using the new parameter

Signed-off-by: Andrei Costinescu <[email protected]>

---------

Signed-off-by: Andrei Costinescu <[email protected]>

* Fix MAX_NON_OBSTACLE_COST in theta star planner (ros-navigation#5865) (ros-navigation#5868)

(cherry picked from commit 018dca9)

Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>

* Jazzy sync  Jan 23, 2026 (ros-navigation#5890)

* No need to spam the logs (ros-navigation#5674)

Signed-off-by: Tim Clephas <[email protected]>

* Conditionally call onLoop based on node status (ros-navigation#5700)

Signed-off-by: Steve Macenski <[email protected]>

* Allow for no progress checkers to be configured (ros-navigation#5701)

Signed-off-by: SteveMacenski <[email protected]>

* Fix: wait for drive_on_heading_client instead of backup_client (ros-navigation#5724)

The basic navigator was waiting for the backup_client in the
driveOnHeading function.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* Fix: reset controller_server loop_rate when missed desired rate ros-navigation#5712 (ros-navigation#5723)

When a single iteration takes longer than the expected period,
this impacts the next iterations behavior since they will have
less time to perform the control logic, thus increasing the actual
controller_frequency. By resetting the loop_rate on sleep() failure,
this ensures that each iteration will have a full period to exectue its
logic.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* temporary fix bug null pointer (ros-navigation#5749)

* temporary fix bug null pointer

Signed-off-by: suifengersan123 <[email protected]>

* add return

Signed-off-by: suifengersan123 <[email protected]>

* remove return

Signed-off-by: suifengersan123 <[email protected]>

---------

Signed-off-by: suifengersan123 <[email protected]>

* fix: change warning to exception when goal poses cannot be transformed (ros-navigation#5759)

- Replace RCLCPP_WARN with std::runtime_error exception in onPreempt method
- Remove bt_action_server_->terminatePendingGoal() call after accepting goal
- Add required stdexcept include for exception handling

Fixes issue where navigators accept pending goal but are not properly
terminated if rejected during goal pose transformation.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* [mppi] Don't reset zone-based speed limits (ros-navigation#5768)

* [mppi] Don't reset zone-based speed limits

Signed-off-by: Adi Vardi <[email protected]>

* [mppi] update motion model params from speed_limit

Signed-off-by: Adi Vardi <[email protected]>

* fix linting issue

Signed-off-by: Adi Vardi <[email protected]>

* Revert: reset speed limits after param change

Signed-off-by: Adi Vardi <[email protected]>

---------

Signed-off-by: Adi Vardi <[email protected]>

* Bugfix inactive publishers (ros-navigation#5748)

* Do not publish costmap unless active

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Fix typo

Signed-off-by: Christopher Thompson <[email protected]>

* Use layers isEnabled() to prevent publishing

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Add missing include for CostmapLayer type

Signed-off-by: Christopher Thompson <[email protected]>

* Remove extra scoping

Signed-off-by: Christopher Thompson <[email protected]>

---------

Signed-off-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>

* Fix MAX_NON_OBSTACLE_COST in theta star planner (ros-navigation#5865)

Signed-off-by: mini-1235 <[email protected]>

* Bump jazzy to 1.3.11 for release

Signed-off-by: SteveMacenski <[email protected]>

---------

Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: SteveMacenski <[email protected]>
Signed-off-by: agennart <[email protected]>
Signed-off-by: suifengersan123 <[email protected]>
Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Tim Clephas <[email protected]>
Co-authored-by: Saitama <[email protected]>
Co-authored-by: agennart <[email protected]>
Co-authored-by: suifengersan123 <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Simon Dathan <[email protected]>
Co-authored-by: Adi Vardi <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>

* Fix parameters in route server (backport Jazzy) (ros-navigation#5904)

* Fix parameters in route server (backport Jazzy)

Signed-off-by: mini-1235 <[email protected]>

* Fix

Signed-off-by: mini-1235 <[email protected]>

---------

Signed-off-by: mini-1235 <[email protected]>

* Add cancel timeout when cancelling actions (backport Jazzy) (ros-navigation#5903)

* Add cancel timeout when cancelling actions (backport Jazzy)

Signed-off-by: mini-1235 <[email protected]>

* Declare parameter

Signed-off-by: mini-1235 <[email protected]>

* Update cancel timeout

Signed-off-by: mini-1235 <[email protected]>

---------

Signed-off-by: mini-1235 <[email protected]>

* Backport docking in reverse fixes for jazzy (ros-navigation#5971)

* Increase docking coverage && fix backward docking (backport Jazzy) (ros-navigation#5097)

* Increase docking coverage && fix backward docking (backport Jazzy)

Signed-off-by: Iacopo Moles <[email protected]>

Increase docking coverage && fix backward docking (ros-navigation#5097)

* Add dock_database tests

Signed-off-by: Alberto Tudela <[email protected]>

* Add utils test

Signed-off-by: Alberto Tudela <[email protected]>

* Improve filter tests

Signed-off-by: Alberto Tudela <[email protected]>

* Added simple charging tests

Signed-off-by: Alberto Tudela <[email protected]>

* Improve comments

Signed-off-by: Alberto Tudela <[email protected]>

* Fix backward and redo main test

Signed-off-by: Alberto Tudela <[email protected]>

* Change test period to reduce test time

Signed-off-by: Alberto Tudela <[email protected]>

* Revert "Change test period to reduce test time"

This reverts commit ef1555e.

Signed-off-by: Alberto Tudela <[email protected]>

* Delete print pose

Signed-off-by: Alberto Tudela <[email protected]>

---------

Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Iacopo Moles <[email protected]>

* bump package versions

Signed-off-by: Iacopo Moles <[email protected]>

* Revert "bump package versions"

This reverts commit a35c23d.

Signed-off-by: Iacopo Moles <[email protected]>

---------

Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Iacopo Moles <[email protected]>
Co-authored-by: Alberto Tudela <[email protected]>

---------

Signed-off-by: Prathmesh Atkale <[email protected]>
Signed-off-by: Pau Reverté <[email protected]>
Signed-off-by: Mike Slembrouck <[email protected]>
Signed-off-by: mikeslembrouckZYGO <[email protected]>
Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: EricoMeger <[email protected]>
Signed-off-by: Guillaume Doisy <[email protected]>
Signed-off-by: Maurice <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Signed-off-by: Maurice Alexander Purnawan <[email protected]>
Signed-off-by: SatArw <[email protected]>
Signed-off-by: Satwik Arawalli <[email protected]>
Signed-off-by: Andrei Costinescu <[email protected]>
Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: SteveMacenski <[email protected]>
Signed-off-by: agennart <[email protected]>
Signed-off-by: suifengersan123 <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: Alberto Tudela <[email protected]>
Signed-off-by: Iacopo Moles <[email protected]>
Co-authored-by: Prathmesh2931 <[email protected]>
Co-authored-by: Pau Reverté <[email protected]>
Co-authored-by: mikeslembrouckZYGO <[email protected]>
Co-authored-by: Simon Dathan <[email protected]>
Co-authored-by: Érico Meger <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Guillaume Doisy <[email protected]>
Co-authored-by: Guillaume Doisy <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>
Co-authored-by: Johannes Plapp <[email protected]>
Co-authored-by: Sandeep Dutta <[email protected]>
Co-authored-by: Steve Macenski <[email protected]>
Co-authored-by: Satwik Arawalli <[email protected]>
Co-authored-by: Andrei Costinescu <[email protected]>
Co-authored-by: Tim Clephas <[email protected]>
Co-authored-by: Saitama <[email protected]>
Co-authored-by: agennart <[email protected]>
Co-authored-by: suifengersan123 <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Adi Vardi <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Iacopo Moles <[email protected]>
Co-authored-by: Alberto Tudela <[email protected]>
Rooteq pushed a commit to Rooteq/navigation2 that referenced this pull request Nov 9, 2026
…ion#5775)

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* Fix tests for jazzy

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>
Rooteq pushed a commit to Rooteq/navigation2 that referenced this pull request Nov 9, 2026
* No need to spam the logs (ros-navigation#5674)

Signed-off-by: Tim Clephas <[email protected]>

* Conditionally call onLoop based on node status (ros-navigation#5700)

Signed-off-by: Steve Macenski <[email protected]>

* Allow for no progress checkers to be configured (ros-navigation#5701)

Signed-off-by: SteveMacenski <[email protected]>

* Fix: wait for drive_on_heading_client instead of backup_client (ros-navigation#5724)

The basic navigator was waiting for the backup_client in the
driveOnHeading function.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* Fix: reset controller_server loop_rate when missed desired rate ros-navigation#5712 (ros-navigation#5723)

When a single iteration takes longer than the expected period,
this impacts the next iterations behavior since they will have
less time to perform the control logic, thus increasing the actual
controller_frequency. By resetting the loop_rate on sleep() failure,
this ensures that each iteration will have a full period to exectue its
logic.

Signed-off-by: agennart <[email protected]>
Co-authored-by: agennart <[email protected]>

* temporary fix bug null pointer (ros-navigation#5749)

* temporary fix bug null pointer

Signed-off-by: suifengersan123 <[email protected]>

* add return

Signed-off-by: suifengersan123 <[email protected]>

* remove return

Signed-off-by: suifengersan123 <[email protected]>

---------

Signed-off-by: suifengersan123 <[email protected]>

* fix: change warning to exception when goal poses cannot be transformed (ros-navigation#5759)

- Replace RCLCPP_WARN with std::runtime_error exception in onPreempt method
- Remove bt_action_server_->terminatePendingGoal() call after accepting goal
- Add required stdexcept include for exception handling

Fixes issue where navigators accept pending goal but are not properly
terminated if rejected during goal pose transformation.

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Update obstacle layer usage of max ranges (ros-navigation#5697)

* Use cell distance for obstacle marking max range

Signed-off-by: Simon Dathan <[email protected]>

* Don't raytrace clear the cell containing the current observation

Signed-off-by: Simon Dathan <[email protected]>

* Add tests for max marking and clearing ranges

Signed-off-by: Simon Dathan <[email protected]>

* Fix cpplint failures

Signed-off-by: Simon Dathan <[email protected]>

* Fix distance calculation

Signed-off-by: Simon Dathan <[email protected]>

* fix casting, formatting

Signed-off-by: Simon Dathan <[email protected]>

* check origin is in map, update CMakeLists

Signed-off-by: Simon Dathan <[email protected]>

* use hypot instead of squared dist

Signed-off-by: Simon Dathan <[email protected]>

* Move origin calc out of loop

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Revert don't raytrace origin if it is observation cell

Signed-off-by: Simon Dathan <[email protected]>

* Remove new line

Signed-off-by: Simon Dathan <[email protected]>

---------

Signed-off-by: Simon Dathan <[email protected]>

* [mppi] Don't reset zone-based speed limits (ros-navigation#5768)

* [mppi] Don't reset zone-based speed limits

Signed-off-by: Adi Vardi <[email protected]>

* [mppi] update motion model params from speed_limit

Signed-off-by: Adi Vardi <[email protected]>

* fix linting issue

Signed-off-by: Adi Vardi <[email protected]>

* Revert: reset speed limits after param change

Signed-off-by: Adi Vardi <[email protected]>

---------

Signed-off-by: Adi Vardi <[email protected]>

* Bugfix inactive publishers (ros-navigation#5748)

* Do not publish costmap unless active

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Fix typo

Signed-off-by: Christopher Thompson <[email protected]>

* Use layers isEnabled() to prevent publishing

Signed-off-by: Christopher Thompson <[email protected]>

* Fix style

Signed-off-by: Christopher Thompson <[email protected]>

* Add missing include for CostmapLayer type

Signed-off-by: Christopher Thompson <[email protected]>

* Remove extra scoping

Signed-off-by: Christopher Thompson <[email protected]>

---------

Signed-off-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>

* Fix MAX_NON_OBSTACLE_COST in theta star planner (ros-navigation#5865)

Signed-off-by: mini-1235 <[email protected]>

* Bump jazzy to 1.3.11 for release

Signed-off-by: SteveMacenski <[email protected]>

---------

Signed-off-by: Tim Clephas <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: SteveMacenski <[email protected]>
Signed-off-by: agennart <[email protected]>
Signed-off-by: suifengersan123 <[email protected]>
Signed-off-by: Simon Dathan <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Christopher Thompson <[email protected]>
Signed-off-by: mini-1235 <[email protected]>
Co-authored-by: Tim Clephas <[email protected]>
Co-authored-by: Saitama <[email protected]>
Co-authored-by: agennart <[email protected]>
Co-authored-by: suifengersan123 <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Simon Dathan <[email protected]>
Co-authored-by: Adi Vardi <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Christopher Thompson <[email protected]>
Co-authored-by: Maurice Alexander Purnawan <[email protected]>
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.

Costmap2D Obstacle Layer - Obstacles cleared when reversing away from them

3 participants