Skip to content

Conversation

@SteveMacenski
Copy link
Member

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

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: Steve Macenski <SteveMacenski@users.noreply.github.com>
@SteveMacenski SteveMacenski merged commit 69a60df into main Aug 21, 2025
13 of 14 checks passed
@SteveMacenski SteveMacenski deleted the claude/issue-5472-20250821_184253 branch August 21, 2025 19:20
@SteveMacenski
Copy link
Member Author

@claude backport this change to jazzy and kilted branches

@claude
Copy link
Contributor

claude bot commented Aug 21, 2025

Claude finished @SteveMacenski's task —— View job


Backporting PR #5473 to jazzy and kilted branches

I analyzed PR #5473 and understand exactly what needs to be backported. However, I need the Bash tool to access different branches.

Current Status

Manual Alternative

If you can't grant Bash access, here's what needs to be done manually:

For jazzy branch:

  1. Create branch: git checkout -b claude/backport-5473-jazzy origin/jazzy
  2. In nav2_smac_planner/src/smac_planner_hybrid.cpp, move these lines outside the if (smooth_path) conditional:
    SmootherParams params;
    params.get(node, name);
  3. Same change in nav2_smac_planner/src/smac_planner_lattice.cpp

For kilted branch:

Same process with git checkout -b claude/backport-5473-kilted origin/kilted

Next Steps

Grant me --allowedTools=Bash and I'll complete both backports with proper PR links, or apply the changes manually using the guidance above.

mergify bot pushed a commit that referenced this pull request Aug 21, 2025
…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 bot pushed a commit that referenced this pull request Aug 21, 2025
…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)
SteveMacenski added a commit that referenced this pull request Aug 21, 2025
…5473) (#5475)

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>
SteveMacenski added a commit that referenced this pull request Aug 21, 2025
…5473) (#5474)

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>
bkoensgen pushed a commit to bkoensgen/navigation2 that referenced this pull request Aug 29, 2025
…os-navigation#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 ros-navigation#5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
armgits pushed a commit to armgits/navigation2 that referenced this pull request Sep 5, 2025
…os-navigation#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 ros-navigation#5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
armgits pushed a commit to armgits/navigation2 that referenced this pull request Sep 5, 2025
…os-navigation#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 ros-navigation#5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Signed-off-by: Abhishekh Reddy <helloarm@pm.me>
RBT22 pushed a commit to EnjoyRobotics/navigation2 that referenced this pull request Sep 11, 2025
…os-navigation#5473) (ros-navigation#5474)

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 ros-navigation#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>
silanus23 pushed a commit to silanus23/navigation2 that referenced this pull request Sep 18, 2025
…os-navigation#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 ros-navigation#5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
BCKSELFDRIVEWORLD pushed a commit to BCKSELFDRIVEWORLD/navigation2 that referenced this pull request Sep 23, 2025
…os-navigation#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 ros-navigation#5472

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment