This commit is contained in:
acki
2025-10-07 19:31:02 +02:00
parent a8da6615e4
commit 54e748ebda

View File

@@ -777,6 +777,7 @@ namespace Modelec
void NavigationHelper::OnPos(const PosMsg::SharedPtr msg)
{
RCLCPP_INFO(node_->get_logger(), "Current position updated to x: %f, y: %f, theta: %f", msg->x, msg->y, msg->theta);
current_pos_ = msg;
pathfinding_->SetCurrentPos(msg);
}