diff --git a/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py b/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py index 8ad6cc65..7e3a102c 100755 --- a/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py +++ b/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py @@ -304,7 +304,7 @@ def diag_cb(self, msg: DiagnosticArray) -> None: if len(msg.status) == 0: return diag_status: DiagnosticStatus = msg.status[0] - if diag_status.name == TARGET_DIAG_NAME: + if diag_status.name != TARGET_DIAG_NAME: return if diag_status.level >= DiagnosticStatus.ERROR: self.__topic_rate = False