log pcb data

This commit is contained in:
acki
2025-12-11 17:54:20 +01:00
parent 2fb633ba05
commit 88b2e5c418
2 changed files with 2 additions and 0 deletions

View File

@@ -215,6 +215,7 @@ namespace Modelec
void PCBActionInterface::read(const std::string& msg)
{
RCLCPP_INFO_ONCE(this->get_logger(), "Received message: '%s'", msg.c_str());
RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Received message: '%s'", msg.c_str());
std::vector<std::string> tokens = split(trim(msg), ';');
if (tokens.size() < 2)

View File

@@ -97,6 +97,7 @@ namespace Modelec
void PCBOdoInterface::read(const std::string& msg)
{
RCLCPP_INFO_ONCE(this->get_logger(), "Received from PCB: %s", msg.c_str());
RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Received from PCB: %s", msg.c_str());
std::vector<std::string> tokens = split(trim(msg), ';');
if (tokens.size() < 2)
{