mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
log pos
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user