This commit is contained in:
acki
2025-10-07 19:44:21 +02:00
parent 08dd1a0bf0
commit 1c58f0200f

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);