From 3015b63fb324f7b736435038f533c17c4e7b4675 Mon Sep 17 00:00:00 2001 From: Tyler Marr Date: Tue, 18 Jun 2024 08:54:41 -0500 Subject: [PATCH] Fix mistake in create_subscription --- scripts/data_collection_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/data_collection_node.py b/scripts/data_collection_node.py index 18e6356..2d1870b 100755 --- a/scripts/data_collection_node.py +++ b/scripts/data_collection_node.py @@ -59,10 +59,10 @@ def __init__(self): # Set up image subscriber self.cvb = CvBridge() self.img_sub = self.create_subscription( - msg_type=msg_type = Image, + msg_type=Image, topic='image', callback=self.img_cb, - qos_profile=QoSProfile(depth = 10) + qos_profile=QoSProfile(depth=10) ) # Set up servers