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