Skip to content

Match velocity_smoother acceleration limits with MPPI defaults (backport #6362) - #6363

Merged
SteveMacenski merged 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-6362
Aug 17, 2026
Merged

SteveMacenski merged 1 commit into
lyricalfrom
mergify/bp/lyrical/pr-6362

Conversation

@mergify

@mergify mergify Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Basic Info

Info Please fill out this column
Ticket(s) this addresses #6357
Primary OS tested on N/A — not executed
Robotic platform tested on None
Does this PR contain AI generated software? No
Was this PR description generated by AI software? No — written by me in Japanese and translated with AI assistance.

Description of contribution in a few bullet points

  • The acceleration/deceleration limits in velocity_smoother in nav2_bringup/params/nav2_params.yaml were changed to match the declared values in the MPPI controller in the same file.
    • max_accel: [2.5, 0.0, 3.2] → [3.0, 0.0, 3.5]
    • max_decel: [-2.5, 0.0, -3.2] → [-3.0, 0.0, -3.5]
  • Both are the compiled default values for their respective packages (ax_max: 3.0 / az_max: 3.5 in optimizer.cpp, max_accel: {2.5, 0.0, 3.2} in velocity_smoother.cpp), and nav2_params.yaml inherited both as is.
  • This mismatch was confirmed to be unintentional in Are the MPPI acceleration limits and the velocity_smoother acceleration limits in nav2_params.yaml intended to be independent? #6357.

Description of documentation updates required from your changes

  • No new parameters have been added; only default values have been changed. We believe no documentation updates are necessary.
  • However, we would like to ask the maintainer for their judgment on whether this should be reflected in the tuning guide.

Description of how this change was tested


Future work that may be required in bullet points

  • Angular velocity (max_accel[2] / max_decel[2]) was also adjusted to MPPI's az_max: 3.5. Are the MPPI acceleration limits and the velocity_smoother acceleration limits in nav2_params.yaml intended to be independent? #6357 only mentioned the linear 3.0, but it was judged to be for the same reason. If it is better to revert to linear only, we will do so.
  • Lowering MPPI to 2.5 and raising smoother to 3.0 are not equivalent. If smoother represents the hardware limit, the latter would be an assertion that the robot can brake at 3.0 m/s². With vx_max: 0.5, the difference in stopping distance is about 8 mm, so there seems to be no practical difference, but it will have an effect on faster platforms.

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

This is an automatic backport of pull request #6362 done by [Mergify](https://mergify.com).

Signed-off-by: Tetsu <[email protected]>
Signed-off-by: Tetsu Yamaguchi <[email protected]>
(cherry picked from commit af4233c)
@mergify

mergify Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

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

@codecov

codecov Bot commented Aug 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 9 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 merged commit cd8b1dd into lyrical Aug 17, 2026
10 of 11 checks passed
@SteveMacenski
SteveMacenski deleted the mergify/bp/lyrical/pr-6362 branch August 17, 2026 19:27
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.

2 participants