From a98a47ee39ecb71f3195d9a4de6de939434ea7c9 Mon Sep 17 00:00:00 2001 From: acki Date: Mon, 15 Dec 2025 20:33:30 +0100 Subject: [PATCH] log --- src/modelec_com/src/pcb_odo_interface.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/modelec_com/src/pcb_odo_interface.cpp b/src/modelec_com/src/pcb_odo_interface.cpp index b103d27..8345e7d 100644 --- a/src/modelec_com/src/pcb_odo_interface.cpp +++ b/src/modelec_com/src/pcb_odo_interface.cpp @@ -82,10 +82,10 @@ namespace Modelec this->open(request->name, request->bauds, request->serial_port, MAX_MESSAGE_LEN); - // SetPID("THETA", 14, 0, 0); - // SetPID("POS", 10, 0, 0); - // SetPID("LEFT", 5, 0, 0); - // SetPID("RIGHT", 5, 0, 0); + SetPID("THETA", 14, 0, 0); + SetPID("POS", 10, 0, 0); + SetPID("LEFT", 5, 0, 0); + SetPID("RIGHT", 5, 0, 0); } PCBOdoInterface::~PCBOdoInterface() @@ -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); } }