Skip to content
Snippets Groups Projects
Commit 8196e1f4 authored by Carl Delsey's avatar Carl Delsey Committed by Matt Hansen
Browse files

Fixing a rebase error

parent 41cde9f5
No related branches found
No related tags found
No related merge requests found
......@@ -248,8 +248,7 @@ AmclNode::on_activate(const rclcpp_lifecycle::State & /*state*/)
initialPoseReceived(msg);
} else if (init_pose_received_on_inactive) {
handleInitialPose(
std::make_shared<geometry_msgs::msg::PoseWithCovarianceStamped>(last_published_pose_));
handleInitialPose(last_published_pose_);
}
return nav2_util::CallbackReturn::SUCCESS;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment