diff --git a/src/ui/QGCPX4VehicleConfig.cc b/src/ui/QGCPX4VehicleConfig.cc index c06fdd5..ca8574f 100644 --- a/src/ui/QGCPX4VehicleConfig.cc +++ b/src/ui/QGCPX4VehicleConfig.cc @@ -469,15 +469,10 @@ void QGCPX4VehicleConfig::startCalibrationRC() identifyChannelMapping(i); } - // Try to identify inverted channels, but only for R/P/Y/T - for (int i = 0; i < 4; i++) { - detectChannelInversion(i); - } - //QMessageBox::information(0,"Information","Additional channels have not been mapped, but can be mapped in the channel table below."); configEnabled = false; - QMessageBox::information(0,"Information","Click OK, then move all sticks to their extreme positions, watching the min/max values to ensure you get the most range from your controller. This includes all switches"); - ui->rcCalibrationButton->setText(tr("Save RC Calibration")); + QMessageBox::information(0, tr("Information"),tr("Click OK, then move all sticks to their extreme positions, watching the min/max values to ensure you get the most range from your controller. This includes all switches")); + ui->rcCalibrationButton->setText(tr("Finish RC Calibration")); resetCalibrationRC(); calibrationEnabled = true; ui->rollWidget->showMinMax(); @@ -488,6 +483,8 @@ void QGCPX4VehicleConfig::startCalibrationRC() ui->radio6Widget->showMinMax(); ui->radio7Widget->showMinMax(); ui->radio8Widget->showMinMax(); + + QMessageBox::information(0, tr("Information"), tr("Please click on the button once finished")); } void QGCPX4VehicleConfig::stopCalibrationRC() @@ -495,6 +492,11 @@ void QGCPX4VehicleConfig::stopCalibrationRC() if (!calibrationEnabled) return; + // Try to identify inverted channels, but only for R/P/Y/T + for (int i = 0; i < 4; i++) { + detectChannelInversion(i); + } + QMessageBox::information(0,"Trims","Ensure all controls are centered and throttle is in the lowest position. Click OK to continue"); calibrationEnabled = false; diff --git a/src/ui/QGCPX4VehicleConfig.ui b/src/ui/QGCPX4VehicleConfig.ui index 26210d1..7c9fe43 100644 --- a/src/ui/QGCPX4VehicleConfig.ui +++ b/src/ui/QGCPX4VehicleConfig.ui @@ -199,30 +199,6 @@ - - - Spektrum RC Pairing - - - - - - - DSM2 Mode - - - true - - - - - - - DSMX Mode - - - - Qt::Vertical @@ -235,6 +211,39 @@ + + + + Spektrum RC + + + + + + Pair Receiver + + + + + + + DSM2 Mode + + + true + + + + + + + DSMX Mode + + + + + + @@ -870,8 +879,8 @@ 0 0 - 98 - 28 + 16 + 16 @@ -907,8 +916,8 @@ 0 0 - 98 - 28 + 16 + 16 @@ -958,8 +967,8 @@ 0 0 - 98 - 28 + 16 + 16