diff --git a/common/autoware_debug_tools/autoware_debug_tools/system_performance_plotter/processing_time_plotter.py b/common/autoware_debug_tools/autoware_debug_tools/system_performance_plotter/processing_time_plotter.py index 68a4d151..1142dcf9 100644 --- a/common/autoware_debug_tools/autoware_debug_tools/system_performance_plotter/processing_time_plotter.py +++ b/common/autoware_debug_tools/autoware_debug_tools/system_performance_plotter/processing_time_plotter.py @@ -1,7 +1,9 @@ #!/usr/bin/env python3 -from tier4_debug_msgs.msg import Float32Stamped -from tier4_debug_msgs.msg import Float64Stamped +from autoware_internal_debug_msgs.msg import Float32Stamped +from autoware_internal_debug_msgs.msg import Float64Stamped +from tier4_debug_msgs.msg import Float32Stamped as Tier4Float32Stamped +from tier4_debug_msgs.msg import Float64Stamped as Tier4Float64Stamped from .system_performance_plotter_base import PREDEFINED_COMPONENT_NAMES from .system_performance_plotter_base import SystemPerformancePlotterBase @@ -30,7 +32,12 @@ def check_topic(self, topic_name): return True def update_metrics_func(self, topic_name, data, date_time): - if not isinstance(data, Float64Stamped) and not isinstance(data, Float32Stamped): + if ( + not isinstance(data, Tier4Float64Stamped) + and not isinstance(data, Tier4Float32Stamped) + and not isinstance(data, Float64Stamped) + and not isinstance(data, Float32Stamped) + ): return if topic_name not in self.stamp_and_metrics: