mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-03-18 21:50:36 +01:00
strat
This commit is contained in:
@@ -122,9 +122,9 @@ namespace Modelec
|
||||
|
||||
void PCBOdoInterface::read(const std::string& msg)
|
||||
{
|
||||
// RCLCPP_INFO(this->get_logger(), "Received from PCB: %s", trim(msg).c_str());
|
||||
RCLCPP_INFO_ONCE(this->get_logger(), "Received from PCB: %s", trim(msg).c_str());
|
||||
RCLCPP_DEBUG_SKIPFIRST(this->get_logger(), "Received from PCB: %s", msg.c_str());
|
||||
RCLCPP_INFO(this->get_logger(), "Received from PCB: %s", trim(msg).c_str());
|
||||
// RCLCPP_INFO_ONCE(this->get_logger(), "Received from PCB: %s", trim(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)
|
||||
{
|
||||
@@ -287,9 +287,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