Skip to content

Commit

Permalink
[amcl] check the recieved initialpose in the size of map (ros-navigat…
Browse files Browse the repository at this point in the history
…ion#4416)

* reorder pointers-reset & remove rebundant code

Signed-off-by: GoesM <[email protected]>

* check the initialpose in map

Signed-off-by: GoesM <[email protected]>

* back

Signed-off-by: GoesM <[email protected]>

* remove the redunbant code

Signed-off-by: GoesM <[email protected]>

* code style

Signed-off-by: GoesM <[email protected]>

* code style

Signed-off-by: GoesM <[email protected]>

* code style

Signed-off-by: GoesM <[email protected]>

* codestyle

Signed-off-by: GoesM <[email protected]>

* Update nav2_amcl/src/amcl_node.cpp

Signed-off-by: Steve Macenski <[email protected]>

* Update nav2_amcl/src/amcl_node.cpp

Signed-off-by: Steve Macenski <[email protected]>

---------

Signed-off-by: GoesM <[email protected]>
Signed-off-by: Steve Macenski <[email protected]>
Co-authored-by: GoesM <[email protected]>
Co-authored-by: Steve Macenski <[email protected]>
  • Loading branch information
3 people authored and Marc-Morcos committed Jul 4, 2024
1 parent 6c8eb92 commit f192a30
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nav2_amcl/src/amcl_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ AmclNode::on_cleanup(const rclcpp_lifecycle::State & /*state*/)
global_loc_srv_.reset();
initial_guess_srv_.reset();
nomotion_update_srv_.reset();
executor_thread_.reset(); // to make sure initial_pose_sub_ completely exit
initial_pose_sub_.reset();
laser_scan_connection_.disconnect();
tf_listener_.reset(); // listener may access lase_scan_filter_, so it should be reset earlier
Expand Down

0 comments on commit f192a30

Please sign in to comment.