This commit is contained in:
acki
2025-12-15 20:33:30 +01:00
parent 7c6d9326e9
commit a98a47ee39

View File

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