This commit is contained in:
acki
2025-05-29 12:49:22 -04:00
parent ac15ebc730
commit 8c34193192
2 changed files with 2 additions and 2 deletions

View File

@@ -468,8 +468,6 @@ namespace Modelec
{
if (pcb_publisher_)
{
RCLCPP_INFO(this->get_logger(), "Sending to PCB: '%s'", data.c_str());
auto message = std_msgs::msg::String();
message.data = data;
pcb_publisher_->publish(message);

View File

@@ -629,6 +629,8 @@ namespace Modelec
{
if (pcb_publisher_)
{
RCLCPP_INFO(this->get_logger(), "Sending to PCB: %s", data.c_str());
auto message = std_msgs::msg::String();
message.data = data;
pcb_publisher_->publish(message);