|
|
@ -131,11 +131,11 @@ Item { |
|
|
|
|
|
|
|
|
|
|
|
onResetStatusTextArea: statusLog.text = statusTextAreaDefaultText |
|
|
|
onResetStatusTextArea: statusLog.text = statusTextAreaDefaultText |
|
|
|
|
|
|
|
|
|
|
|
onSetCompassRotations: { |
|
|
|
onMagCalComplete: { |
|
|
|
if (!_sensorsHaveFixedOrientation && (showCompass0Rot || showCompass1Rot || showCompass2Rot)) { |
|
|
|
//if (!_sensorsHaveFixedOrientation && (showCompass0Rot || showCompass1Rot || showCompass2Rot)) { |
|
|
|
setOrientationsDialogShowBoardOrientation = false |
|
|
|
setOrientationsDialogShowBoardOrientation = false |
|
|
|
showDialog(setOrientationsDialogComponent, qsTr("Set Compass Rotation(s)"), qgcView.showDialogDefaultWidth, StandardButton.Ok) |
|
|
|
showDialog(setOrientationsDialogComponent, qsTr("Compass Calibration Complete"), qgcView.showDialogDefaultWidth, StandardButton.Ok) |
|
|
|
} |
|
|
|
//} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onWaitingForCancelChanged: { |
|
|
|
onWaitingForCancelChanged: { |
|
|
@ -255,6 +255,20 @@ Item { |
|
|
|
QGCLabel { |
|
|
|
QGCLabel { |
|
|
|
width: parent.width |
|
|
|
width: parent.width |
|
|
|
wrapMode: Text.WordWrap |
|
|
|
wrapMode: Text.WordWrap |
|
|
|
|
|
|
|
text: qsTr("Set your compass orientations below and the make sure to reboot the vehicle prior to flight.") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QGCButton { |
|
|
|
|
|
|
|
text: qsTr("Reboot Vehicle") |
|
|
|
|
|
|
|
onClicked: { |
|
|
|
|
|
|
|
controller.vehicle.rebootVehicle() |
|
|
|
|
|
|
|
hideDialog() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QGCLabel { |
|
|
|
|
|
|
|
width: parent.width |
|
|
|
|
|
|
|
wrapMode: Text.WordWrap |
|
|
|
text: boardRotationText |
|
|
|
text: boardRotationText |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|