diff --git a/scripts/publisher.py b/scripts/publisher.py index 4d59484..5973bf8 100755 --- a/scripts/publisher.py +++ b/scripts/publisher.py @@ -75,7 +75,7 @@ def pointCloud2ToString(msg: PointCloud2): try: while reader.has_next(): - (topic, data, t) = reader.read_next() + (topic, data, t, _) = reader.read_next_ext() msg_type = get_message(type_map[topic]) msg = deserialize_message(data, msg_type) pub.publish(pointCloud2ToString(msg))