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:
@@ -461,6 +461,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);
|
||||
|
||||
Reference in New Issue
Block a user