diff --git a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc index 006ef8c140085df62c4eead9f105694d1c16a787..dc2b53aecc29be0d0135d8c6c6d01b90c3c5616c 100644 --- a/src/AutoPilotPlugins/PX4/SensorsComponentController.cc +++ b/src/AutoPilotPlugins/PX4/SensorsComponentController.cc @@ -232,6 +232,9 @@ void SensorsComponentController::_handleUASTextMessage(int uasId, int compId, in _progressBar->setProperty("value", 1); _updateAndEmitGyroCalInProgress(false); _refreshParams(); + } else if (text == "mag calibration: done" || text == "dpress calibration: done") { + _progressBar->setProperty("value", 1); + _refreshParams(); } else if (text.endsWith(" calibration: failed")) { QGCMessageBox::warning("Calibration", "Calibration failed. Calibration log will be displayed."); _hideAllCalAreas();