Browse Source

Disable sensor calibration warning for sub

QGC4.4
dheideman 8 years ago committed by Jacob Walser
parent
commit
fa39672367
  1. 3
      src/AutoPilotPlugins/APM/APMSensorsComponent.qml

3
src/AutoPilotPlugins/APM/APMSensorsComponent.qml

@ -155,7 +155,8 @@ SetupPage { @@ -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)
}
}

Loading…
Cancel
Save