Browse Source

Warn user of already completed side

QGC4.4
Don Gagne 9 years ago
parent
commit
664222f24c
  1. 5
      src/AutoPilotPlugins/PX4/SensorsComponentController.cc

5
src/AutoPilotPlugins/PX4/SensorsComponentController.cc

@ -414,6 +414,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in @@ -414,6 +414,11 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
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)) {
_stopCalibration(StopCalibrationSuccess);

Loading…
Cancel
Save