diff --git a/drone/modules/mavros_wrapper.py b/drone/modules/mavros_wrapper.py index 8964956..fb5d7eb 100644 --- a/drone/modules/mavros_wrapper.py +++ b/drone/modules/mavros_wrapper.py @@ -93,7 +93,7 @@ def get_calibration_status(): if acc_status.value.integer == 0 and acc_status.success: status_text += "acc: uncalibrated; " if status_text == "": - if not gyro_status.success and not acc_status.success and not (has_mag and mag_status.success): + if not gyro_status.success or not acc_status.success or not (has_mag and mag_status.success): status_text = "NO_INFO" else: status_text = "OK"