Commit 14ad66b
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
(cherry picked from commit 69a60df)
Co-authored-by: Steve Macenski <stevenmacenski@gmail.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent 47f84de commit 14ad66b
File tree
2 files changed
+4
-4
lines changed2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
276 | 278 | | |
277 | | - | |
278 | | - | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | | - | |
235 | | - | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
0 commit comments