This commit is contained in:
acki
2025-12-15 20:26:58 +01:00
parent 903fa31d6a
commit 7c6d9326e9
2 changed files with 6 additions and 6 deletions

View File

@@ -510,9 +510,9 @@ namespace Modelec
{
if (IsOk())
{
RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
// RCLCPP_INFO_ONCE(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
// RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Sending to PCB: %s", data.c_str());
// RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
RCLCPP_INFO_ONCE(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Sending to PCB: %s", data.c_str());
this->write(data);
}
}

View File

@@ -233,9 +233,9 @@ namespace Modelec
{
if (IsOk())
{
// RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
RCLCPP_INFO_ONCE(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Sending to PCB: %s", data.c_str());
RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
// RCLCPP_INFO_ONCE(this->get_logger(), "Sending to PCB: %s", trim(data).c_str());
// RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Sending to PCB: %s", data.c_str());
this->write(data);
}
}