Commit facc770e authored by Don Gagne's avatar Don Gagne

Catch mag/dpress calibration complete

parent 677fff3e
...@@ -232,6 +232,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in ...@@ -232,6 +232,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in
_progressBar->setProperty("value", 1); _progressBar->setProperty("value", 1);
_updateAndEmitGyroCalInProgress(false); _updateAndEmitGyroCalInProgress(false);
_refreshParams(); _refreshParams();
} else if (text == "mag calibration: done" || text == "dpress calibration: done") {
_progressBar->setProperty("value", 1);
_refreshParams();
} else if (text.endsWith(" calibration: failed")) { } else if (text.endsWith(" calibration: failed")) {
QGCMessageBox::warning("Calibration", "Calibration failed. Calibration log will be displayed."); QGCMessageBox::warning("Calibration", "Calibration failed. Calibration log will be displayed.");
_hideAllCalAreas(); _hideAllCalAreas();
......
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