From 157a4bc61560192f92f88a6337a668d90ec1e0c5 Mon Sep 17 00:00:00 2001 From: Jelle <43064291+jelledouwe@users.noreply.github.com> Date: Mon, 20 Mar 2023 09:54:01 +0100 Subject: [PATCH] remove qos_profile in message_filters subscribers (#420) --- .../opendr_perception/object_detection_2d_gem_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/opendr_ws_2/src/opendr_perception/opendr_perception/object_detection_2d_gem_node.py b/projects/opendr_ws_2/src/opendr_perception/opendr_perception/object_detection_2d_gem_node.py index 3d4f73e1f4..49f4e5a9cb 100644 --- a/projects/opendr_ws_2/src/opendr_perception/opendr_perception/object_detection_2d_gem_node.py +++ b/projects/opendr_ws_2/src/opendr_perception/opendr_perception/object_detection_2d_gem_node.py @@ -187,8 +187,8 @@ def __init__( self.gem_learner.download(path=".", verbose=True) # Subscribers - msg_rgb = message_filters.Subscriber(self, ROS_Image, input_rgb_image_topic, 1) - msg_ir = message_filters.Subscriber(self, ROS_Image, input_infra_image_topic, 1) + msg_rgb = message_filters.Subscriber(self, ROS_Image, input_rgb_image_topic) + msg_ir = message_filters.Subscriber(self, ROS_Image, input_infra_image_topic) sync = message_filters.TimeSynchronizer([msg_rgb, msg_ir], 1) sync.registerCallback(self.callback)