Skip to content

Commit

Permalink
reset laser_scan_filter before reinit (#4397)
Browse files Browse the repository at this point in the history
Signed-off-by: goes <[email protected]>
Co-authored-by: goes <[email protected]>
  • Loading branch information
2 people authored and SteveMacenski committed Aug 23, 2024
1 parent 34487ff commit 3d342f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_amcl/src/amcl_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1367,6 +1367,7 @@ AmclNode::dynamicParametersCallback(
lasers_update_.clear();
frame_to_laser_.clear();
laser_scan_connection_.disconnect();
laser_scan_filter_.reset();
laser_scan_sub_.reset();

initMessageFilters();
Expand Down

0 comments on commit 3d342f4

Please sign in to comment.