From fa39672367518f628d7890641db520224af679dc Mon Sep 17 00:00:00 2001 From: dheideman Date: Thu, 17 Aug 2017 14:31:14 -0700 Subject: [PATCH] Disable sensor calibration warning for sub --- src/AutoPilotPlugins/APM/APMSensorsComponent.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml index fd0a6ac1b..05d19fb87 100644 --- a/src/AutoPilotPlugins/APM/APMSensorsComponent.qml +++ b/src/AutoPilotPlugins/APM/APMSensorsComponent.qml @@ -155,7 +155,8 @@ SetupPage { Component.onCompleted: { var usingUDP = controller.usingUDPLink() - if (usingUDP) { + var isSub = QGroundControl.multiVehicleManager.activeVehicle.sub; + if (usingUDP && !isSub) { showMessage("Sensor Calibration", "Performing sensor calibration over a WiFi connection can be unreliable. If you run into problems try using a direct USB connection instead.", StandardButton.Ok) } } -- 2.22.0