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

@ -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)) {

Loading…
Cancel
Save