Browse Source

APMSensorsComponent: Enable gyro calibration for sub vehicle

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
QGC4.4
Patrick José Pereira 4 years ago committed by Don Gagne
parent
commit
604d82d380
  1. 2
      src/AutoPilotPlugins/APM/APMSensorsComponent.qml

2
src/AutoPilotPlugins/APM/APMSensorsComponent.qml

@ -667,7 +667,7 @@ SetupPage { @@ -667,7 +667,7 @@ SetupPage {
QGCButton {
width: _buttonWidth
text: qsTr("Gyro")
visible: globals.activeVehicle && (globals.activeVehicle.multiRotor | globals.activeVehicle.rover)
visible: globals.activeVehicle && (globals.activeVehicle.multiRotor | globals.activeVehicle.rover | globals.activeVehicle.sub)
onClicked: mainWindow.showComponentDialog(calibrateGyroDialogComponent, qsTr("Calibrate Gyro"), mainWindow.showDialogDefaultWidth, StandardButton.Cancel | StandardButton.Ok)
}

Loading…
Cancel
Save