Skip to content

fix: Move SmootherParams declaration outside smooth_path conditional (backport #5473)#5475

Merged
SteveMacenski merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-5473
Aug 21, 2025
Merged

fix: Move SmootherParams declaration outside smooth_path conditional (backport #5473)#5475
SteveMacenski merged 1 commit intokiltedfrom
mergify/bp/kilted/pr-5473

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Aug 21, 2025

Fixes crash when dynamically changing smooth_path parameter from false to true.

The issue occurred because SmootherParams were only declared when smooth_path was initially true, causing ParameterModifiedInCallbackException when trying to declare parameters within the dynamic parameter callback.

Now SmootherParams are always declared, making them available for dynamic reconfiguration regardless of the initial smooth_path value.

Fixes #5472

Generated with Claude Code


This is an automatic backport of pull request #5473 done by Mergify.

…5473)

Fixes crash when dynamically changing smooth_path parameter from false to true.
The issue occurred because SmootherParams were only declared when smooth_path
was initially true, causing ParameterModifiedInCallbackException when trying
to declare parameters within the dynamic parameter callback.

Now SmootherParams are always declared, making them available for dynamic
reconfiguration regardless of the initial smooth_path value.

Fixes #5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
(cherry picked from commit 69a60df)
@mergify
Copy link
Contributor Author

mergify bot commented Aug 21, 2025

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

@codecov
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
nav2_smac_planner/src/smac_planner_hybrid.cpp 87.24% <100.00%> (ø)
nav2_smac_planner/src/smac_planner_lattice.cpp 86.88% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SteveMacenski SteveMacenski merged commit 14ad66b into kilted Aug 21, 2025
11 of 13 checks passed
@SteveMacenski SteveMacenski deleted the mergify/bp/kilted/pr-5473 branch August 21, 2025 21:16
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.

1 participant