diff --git a/src/signage/src/signage/autoware_interface.py b/src/signage/src/signage/autoware_interface.py index 7bf7e56..6fd9479 100644 --- a/src/signage/src/signage/autoware_interface.py +++ b/src/signage/src/signage/autoware_interface.py @@ -91,12 +91,12 @@ def __init__(self, node): sub_qos, ) self._autoware_connection_time = self._node.get_clock().now() - self._node.create_timer(2, self.reset_timer) + self._node.create_timer(1, self.reset_timer) def reset_timer(self): if utils.check_timeout(self._node.get_clock().now(), self._autoware_connection_time, DISCONNECT_THRESHOLD): self.information = AutowareInformation() - self._node.get_logger().error("Autoware disconnected", throttle_duration_sec=10) + self._node.get_logger().error("Autoware disconnected", throttle_duration_sec=DISCONNECT_THRESHOLD) self.is_disconnected = True else: self.is_disconnected = False