From fa6c92d255e65796a50c004378d04b5f7a0a5f1d Mon Sep 17 00:00:00 2001 From: Katie Hamilton Date: Tue, 21 Nov 2023 09:04:36 -0800 Subject: [PATCH] More debug output. --- .../comms_bridge/include/comms_bridge/generic_rapid_sub.h | 3 +-- communications/comms_bridge/src/generic_rapid_msg_ros_pub.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/communications/comms_bridge/include/comms_bridge/generic_rapid_sub.h b/communications/comms_bridge/include/comms_bridge/generic_rapid_sub.h index 31ddae00bf..1cfd956015 100644 --- a/communications/comms_bridge/include/comms_bridge/generic_rapid_sub.h +++ b/communications/comms_bridge/include/comms_bridge/generic_rapid_sub.h @@ -73,8 +73,7 @@ class GenericRapidSub { } void operator() (T const* data) { -#include "comms_bridge/util.h" - ROS_INFO("Received data for topic %s\n", subscribe_topic_.c_str()); + ROS_ERROR("Received data for topic %s\n", subscribe_topic_.c_str()); ros_pub_->ConvertData(data); } diff --git a/communications/comms_bridge/src/generic_rapid_msg_ros_pub.cpp b/communications/comms_bridge/src/generic_rapid_msg_ros_pub.cpp index 4a130efe1f..ae5088933a 100644 --- a/communications/comms_bridge/src/generic_rapid_msg_ros_pub.cpp +++ b/communications/comms_bridge/src/generic_rapid_msg_ros_pub.cpp @@ -35,7 +35,7 @@ void GenericRapidMsgRosPub::ConvertData( const std::string output_topic = data->outputTopic; - ROS_INFO("Comms Bridge Nodelet: Received advertisement message for topic %s\n", + ROS_ERROR("Comms Bridge Nodelet: Received advertisement message for topic %s\n", output_topic.c_str()); AdvertisementInfo ad_info; @@ -56,7 +56,7 @@ void GenericRapidMsgRosPub::ConvertData( const std::string output_topic = data->outputTopic; - ROS_INFO("Comms Bridge Nodelet: Received content message for topic %s\n", + ROS_ERROR("Comms Bridge Nodelet: Received content message for topic %s\n", output_topic.c_str()); std::map::iterator iter = m_relay_topics_.find(output_topic);