Skip to content

Commit

Permalink
reset laser_scan_filter before reinit (ros-navigation#4397)
Browse files Browse the repository at this point in the history
Signed-off-by: goes <GoesM@buaa.edu.cn>
Co-authored-by: goes <GoesM@buaa.edu.cn>
  • Loading branch information
2 people authored and Manos-G committed Aug 1, 2024
1 parent 7af0321 commit 773408f
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 773408f

Please sign in to comment.