Browse Source

Permanently storing onboard params now

QGC4.4
Lorenz Meier 12 years ago
parent
commit
8917ff1757
  1. 5
      src/ui/QGCPX4VehicleConfig.cc

5
src/ui/QGCPX4VehicleConfig.cc

@ -368,7 +368,8 @@ void QGCPX4VehicleConfig::stopCalibrationRC() @@ -368,7 +368,8 @@ void QGCPX4VehicleConfig::stopCalibrationRC()
}
QMessageBox::information(0,"Status",statusstr);
QMessageBox::information(0,"Uploading the RC Calibration","The configuration will now be uploaded and permanently stored.");
writeCalibrationRC();
}
void QGCPX4VehicleConfig::loadQgcConfig(bool primary)
@ -1108,6 +1109,8 @@ void QGCPX4VehicleConfig::writeCalibrationRC() @@ -1108,6 +1109,8 @@ void QGCPX4VehicleConfig::writeCalibrationRC()
QGC::SLEEP::usleep(50000);
mav->setParameter(0, "RC_MAP_AUX3", (int32_t)(rcMapping[7]+1));
QGC::SLEEP::usleep(50000);
mav->getParamManager()->copyVolatileParamsToPersistent();
}
void QGCPX4VehicleConfig::requestCalibrationRC()

Loading…
Cancel
Save