Skip to content

Commit 5712e67

Browse files
authored
Remove rosbag2_py deprecation (#22)
Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
1 parent ac48b86 commit 5712e67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/publisher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def pointCloud2ToString(msg: PointCloud2):
7575

7676
try:
7777
while reader.has_next():
78-
(topic, data, t) = reader.read_next()
78+
(topic, data, t, _) = reader.read_next_ext()
7979
msg_type = get_message(type_map[topic])
8080
msg = deserialize_message(data, msg_type)
8181
pub.publish(pointCloud2ToString(msg))

0 commit comments

Comments
 (0)