From cea757306bcaaa39a6239fbe7c2089a68bdffab0 Mon Sep 17 00:00:00 2001 From: Alejandro Hernandez Cordero Date: Tue, 17 Mar 2026 10:36:56 +0100 Subject: [PATCH] Remove rosbag2_py deprecation Signed-off-by: Alejandro Hernandez Cordero --- scripts/publisher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))