onFunctionMappingChangedAPMReboot:mainWindow.showMessageDialog(qsTr("Reboot required"),qsTr("Your stick mappings have changed, you must reboot the vehicle for correct operation."))
onThrottleReversedCalFailure:mainWindow.showMessageDialog(qsTr("Throttle channel reversed"),qsTr("Calibration failed. The throttle channel on your transmitter is reversed. You must correct this on your transmitter in order to complete calibration."))
...
...
@@ -71,10 +57,8 @@ SetupPage {
Component{
id:copyTrimsDialogComponent
QGCViewMessage{
message:qsTr("Center your sticks and move throttle all the way down, then press Ok to copy trims. After pressing Ok, reset the trims on your radio back to zero.")
functionaccept(){
hideDialog()
controller.copyTrims()
...
...
@@ -84,11 +68,9 @@ SetupPage {
Component{
id:zeroTrimsDialogComponent
QGCViewMessage{
message:qsTr("Before calibrating you should zero all your trims and subtrims. Click Ok to start Calibration.\n\n%1").arg(
(QGroundControl.multiVehicleManager.activeVehicle.px4Firmware?"":qsTr("Please ensure all motor power is disconnected AND all props are removed from the vehicle.")))
functionaccept(){
hideDialog()
controller.nextButtonClicked()
...
...
@@ -98,7 +80,6 @@ SetupPage {
Component{
id:channelCountDialogComponent
QGCViewMessage{
message:controller.channelCount==0?qsTr("Please turn on transmitter."):qsTr("%1 channels or more are needed to fly.").arg(controller.minChannelCount)