mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
log
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user