diff --git a/planning/planning_debug_tools/scripts/processing_time_checker.py b/planning/planning_debug_tools/scripts/processing_time_checker.py index fa6bc57fb7ae5..39e94ebcc1346 100755 --- a/planning/planning_debug_tools/scripts/processing_time_checker.py +++ b/planning/planning_debug_tools/scripts/processing_time_checker.py @@ -96,7 +96,9 @@ def print_data(self): print("-" * len(header_str)) # Print each topic's data - for topic, data in self.data_map.items(): + for topic in sorted(self.data_map.keys()): + # Fetch the data for the current topic + data = self.data_map[topic] # Round the data to the third decimal place for display data_rounded = round(data, 3) # Calculate the number of bars to be displayed (clamped to max_display_time)