From e3aa5577b0fbac7ed4132ea735aa5e3aaeeb82ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Ag=C3=BCero?= Date: Fri, 31 May 2024 20:01:22 +0200 Subject: [PATCH] Restore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carlos Agüero --- ros_gz_bridge/src/factory.hpp | 4 ++-- ros_gz_bridge/test/config/full.yaml | 9 --------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/ros_gz_bridge/src/factory.hpp b/ros_gz_bridge/src/factory.hpp index 90707728..ec00af7b 100644 --- a/ros_gz_bridge/src/factory.hpp +++ b/ros_gz_bridge/src/factory.hpp @@ -110,9 +110,9 @@ class Factory : public FactoryInterface [this, ros_pub](const GZ_T & _msg, const gz::transport::MessageInfo & _info) { // Ignore messages that are published from this bridge. - // if (!_info.IntraProcess()) { + if (!_info.IntraProcess()) { this->gz_callback(_msg, ros_pub); - // } + } }; node->Subscribe(topic_name, subCb); diff --git a/ros_gz_bridge/test/config/full.yaml b/ros_gz_bridge/test/config/full.yaml index 90f3a95b..ac838101 100644 --- a/ros_gz_bridge/test/config/full.yaml +++ b/ros_gz_bridge/test/config/full.yaml @@ -16,12 +16,3 @@ publisher_queue: 20 lazy: false direction: GZ_TO_ROS - -- ros_topic_name: "clock" - gz_topic_name: "clock" - ros_type_name: "rosgraph_msgs/msg/Clock" - gz_type_name: "gz.msgs.Clock" - subscriber_queue: 10 - publisher_queue: 20 - lazy: false - direction: GZ_TO_ROS