Commit 664222f2 authored by Don Gagne's avatar Don Gagne

Warn user of already completed side

parent f09bb36b
...@@ -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; 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:"); QString calCompletePrefix("calibration done:");
if (text.startsWith(calCompletePrefix)) { if (text.startsWith(calCompletePrefix)) {
_stopCalibration(StopCalibrationSuccess); _stopCalibration(StopCalibrationSuccess);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment