diff --git a/src/modelec_com/src/pcb_action_interface.cpp b/src/modelec_com/src/pcb_action_interface.cpp index bf9c34e..b41369b 100644 --- a/src/modelec_com/src/pcb_action_interface.cpp +++ b/src/modelec_com/src/pcb_action_interface.cpp @@ -272,7 +272,7 @@ namespace Modelec RCLCPP_INFO(this->get_logger(), "Received message: '%s'", msg->data.c_str()); std::vector tokens = split(trim(msg->data), ';'); - if (tokens.size() <= 2) + if (tokens.size() < 2) { RCLCPP_ERROR(this->get_logger(), "Invalid message format"); return;