Browse Source

Merge pull request #3182 from DonLakeFlyer/MagCalFix

Mag cal fix
QGC4.4
Lorenz Meier 9 years ago
parent
commit
590002f83c
  1. 5
      src/AutoPilotPlugins/PX4/SensorsComponentController.cc
  2. 2
      src/FactSystem/ParameterLoader.cc

5
src/AutoPilotPlugins/PX4/SensorsComponentController.cc

@ -413,6 +413,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in @@ -413,6 +413,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
emit orientationCalSidesRotateChanged();
return;
}
if (text.endsWith("side already completed")) {
_orientationCalAreaHelpText->setProperty("text", "Orientation already completed, place you vehicle into one of the incomplete orientations shown below and hold it still");
return;
}
QString calCompletePrefix("calibration done:");
if (text.startsWith(calCompletePrefix)) {

2
src/FactSystem/ParameterLoader.cc

@ -595,8 +595,6 @@ void ParameterLoader::_readParameterRaw(int componentId, const QString& paramNam @@ -595,8 +595,6 @@ void ParameterLoader::_readParameterRaw(int componentId, const QString& paramNam
void ParameterLoader::_writeParameterRaw(int componentId, const QString& paramName, const QVariant& value)
{
return;
mavlink_param_set_t p;
mavlink_param_union_t union_value;

Loading…
Cancel
Save