From c92704535d481778475d951cd40f724c9375cddd Mon Sep 17 00:00:00 2001 From: "temkei.kem" <1041084556@qq.com> Date: Mon, 8 Jul 2024 22:08:28 +0900 Subject: [PATCH] fix a bug in converting old traffic liht message. Signed-off-by: temkei.kem <1041084556@qq.com> --- .../scripts/perception_replayer/perception_replayer_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/planning/planning_debug_tools/scripts/perception_replayer/perception_replayer_common.py b/planning/planning_debug_tools/scripts/perception_replayer/perception_replayer_common.py index 61aa5ab5..ce0d058f 100644 --- a/planning/planning_debug_tools/scripts/perception_replayer/perception_replayer_common.py +++ b/planning/planning_debug_tools/scripts/perception_replayer/perception_replayer_common.py @@ -183,6 +183,7 @@ def load_rosbag(self, rosbag2_path: str): traffic_light_element.status = traffic_signal_element.status traffic_light_element.confidence = traffic_signal_element.confidence traffic_light_group.elements.append(traffic_light_element) + new_msg.traffic_light_groups.append(traffic_light_group) else: raise AssertionError(f"Unsupported conversion from {type(msg)}") msg = new_msg