Repository navigation
[mppi] Don't reset zone-based speed limits - #5768
Conversation
f38e6c0 to
dc5fa33
Compare
SteveMacenski
left a comment
There was a problem hiding this comment.
The other 2 lines I agree with
| // Don't reset zone-based speed limits after params changes | ||
| parameters_handler_->addPostCallback([this]() {reset(false);}); |
There was a problem hiding this comment.
If the parameters were updated, that can mean that there are new maximum/minimum limits that need to be respected. If for instance the speed limits are set as 50% of 1m/s but the new max controller speed is now 0.3m/s, that would be invalid. That seems like a potential problem on this line
There was a problem hiding this comment.
Good point.
I can see different approaches, each could make sense:
- Run the speed limit conversion again (so in your example, new max speed will be 50% * 0.3 = 0.15m/s)
- Take the lowest between the old speed with speed limit and the new value from reconfigure without speed limit
- Ignore the speed limit and only use the new value from reconfigure
I think (1) is the most strict and consistent, but maybe a bit less intuitive (user sets a new speed, but it's then modified).
What do you think?
There was a problem hiding this comment.
Are you having a situation where you're messing with the parameters in the middle of a mission via dynamic parameters? That feels like it might not be a wise choice if also using speed limit callbacks.
I also just looked at setSpeedLimit and I guess nothing about this technically prevents the ratio or set velocity from being larger than the limits in the controller (i.e. 110% or 100m/s). So... I suppose you're right that we could keep it as false to not mess with the current limits. I don't think I see an issue with keeping that at the end of a control sequence, even if the new limits are not reset here. that's not intuitive to me because then the new limits really wouldn't be looked at until a no speed limit set enum comes into the setSpeedLimit, but I suppose (?) that's the workflow as intended.
Messing around with both velocities in dynamic parameters and speed limits is super duper inadvisable which is what makes this subtle. Maybe the better action is to set boundaries that you can only set one or the other - so that this workflow is simpler to think about and programming logic? If a dynamic parameter comes in but s.constraints != s.base_constraints, reject the update. Then the rest of what you have now would be fine and we wouldn't have to be concerned about this in the future.
There was a problem hiding this comment.
No, not really. The issue I really needed to fix is the other change for the fallback.
I can also restore it to true for the parameter change so the speed limit is reset if someone change the param. Maybe this is the best, at least for manual param changes? (and not some automatic reconfigure).
There was a problem hiding this comment.
I think the best answer is this one:
Maybe the better action is to set boundaries that you can only set one or the other - so that this workflow is simpler to think about and programming logic? If a dynamic parameter comes in but s.constraints != s.base_constraints, reject the update. Then the rest of what you have now would be fine and we wouldn't have to be concerned about this in the future.
Alternatively:
I can also restore it to true for the parameter change so the speed limit is reset if someone change the param. Maybe this is the best, at least for manual param changes? (and not some automatic reconfigure).
I'd accept this for now and kick the can down the road. I'd just want a ticket filed on this topic. It would actually be a good first issue item for a student or junior engineer to work on. If its not something you need, maybe just file this ticket to give another developer the opportunity (and not use your limited cycles on something you don't need)
There was a problem hiding this comment.
Ticket: #5768
and I reverted the change for the dynamic params
|
how can I see the CI tests errors? I can't find any error logs. |
@adivardi Can you try pulling in / rebase main? I think this is fixed in main already |
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
Signed-off-by: Adi Vardi <[email protected]>
34e09e1 to
63fdd88
Compare
Done, hope it works |
|
Now the build has timeout out after 45 minutes :( |
|
:( I don't have permission to retrigger this, let's wait for Steve |
Codecov Report✅ All modified and coverable lines are covered by tests.
... and 19 files with indirect coverage changes 🚀 New features to boost your workflow:
|
* [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]> Signed-off-by: Christopher Thompson <[email protected]>
* [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]>
* [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]>
* 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]>
* [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]>
* 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]>
* 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]>
* 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]>
Basic Info
Description of contribution in a few bullet points
Fix 2 bugs:
reset()flag correctly to avoid resetting speed limits when other parameters are changed and after a fallback.setSpeedLimit()so that the new speed limit is updated in the motion model settings. This way thepredict()function is also aware of the new speed limit.Description of documentation updates required from your changes
None
Description of how this change was tested
Tested in simulation:
Bug 1:
Bug 2:
Print the value of one of the constraints params inside
predict(). Without this PR, it is never updated. With it, is it updated when entering/leaving a speed limit zone.Future work that may be required in bullet points
None
For Maintainers:
backport-*.