This commit is contained in:
acki
2025-10-07 19:37:07 +02:00
parent 54e748ebda
commit 7237b6ce9a
2 changed files with 2 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ namespace Modelec
void PCBOdoInterface::PCBCallback(const std_msgs::msg::String::SharedPtr msg)
{
RCLCPP_DEBUG(this->get_logger(), "Received from PCB: %s", msg->data.c_str());
RCLCPP_INFO(this->get_logger(), "Received from PCB: %s", msg->data.c_str());
std::vector<std::string> tokens = split(trim(msg->data), ';');
if (tokens.size() < 2)
{
@@ -287,7 +287,7 @@ namespace Modelec
{
if (pcb_publisher_)
{
// RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", data.c_str());
RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", data.c_str());
auto message = std_msgs::msg::String();
message.data = data;
pcb_publisher_->publish(message);

View File

@@ -777,7 +777,6 @@ 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);
}