Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2024
1 parent 9dfed7e commit 5d1d69b
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3

from tier4_debug_msgs.msg import Float64Stamped, ProcessingTimeTree
from tier4_debug_msgs.msg import Float64Stamped
from tier4_debug_msgs.msg import ProcessingTimeTree

from .system_performance_plotter_base import PREDEFINED_COMPONENT_NAMES
from .system_performance_plotter_base import SystemPerformancePlotterBase
Expand Down Expand Up @@ -45,12 +46,8 @@ def update_metrics_func(self, topic_name, data, date_time, parse_processing_time
self.max_metrics[curr_name] = 0.0

processing_time_ms = node.processing_time
self.stamp_and_metrics[curr_name].append(
[date_time, processing_time_ms]
)
self.max_metrics[curr_name] = max(
self.max_metrics[curr_name], processing_time_ms
)
self.stamp_and_metrics[curr_name].append([date_time, processing_time_ms])
self.max_metrics[curr_name] = max(self.max_metrics[curr_name], processing_time_ms)


def main():
Expand Down

0 comments on commit 5d1d69b

Please sign in to comment.