27 Q_PROPERTY(QQuickItem* statusLog MEMBER _statusLog)
28 Q_PROPERTY(QQuickItem* progressBar MEMBER _progressBar)
30 Q_PROPERTY(QQuickItem* orientationCalAreaHelpText MEMBER _orientationCalAreaHelpText)
63 bool calibrationActive()
const {
return _magCalInProgress || _gyroCalInProgress || _accelCalInProgress || _airspeedCalInProgress || _levelCalInProgress; }
76 void _handleUASTextMessage(
int uasId,
int compId,
int severity, QString text,
const QString &description);
77 void _handleParametersReset(
bool success);
80 void _startLogCalibration(
void);
81 void _startVisualCalibration(
void);
82 void _appendStatusLog(
const QString& text);
83 void _refreshParams(
void);
84 void _hideAllCalAreas(
void);
87 enum StopCalibrationCode {
88 StopCalibrationSuccess,
89 StopCalibrationFailed,
90 StopCalibrationCancelled
92 void _stopCalibration(StopCalibrationCode code);
94 void _updateAndEmitShowOrientationCalArea(
bool show);
96 QQuickItem* _statusLog;
97 QQuickItem* _progressBar;
98 QQuickItem* _orientationCalAreaHelpText;
100 bool _showGyroCalArea;
101 bool _showOrientationCalArea;
103 bool _gyroCalInProgress;
104 bool _magCalInProgress;
105 bool _accelCalInProgress;
106 bool _airspeedCalInProgress;
107 bool _levelCalInProgress;
109 bool _orientationCalDownSideVisible;
110 bool _orientationCalUpsideDownSideVisible;
111 bool _orientationCalLeftSideVisible;
112 bool _orientationCalRightSideVisible;
113 bool _orientationCalNoseDownSideVisible;
114 bool _orientationCalTailDownSideVisible;
123 bool _unknownFirmwareVersion;
124 bool _waitingForCancel;
126 static const int _supportedFirmwareCalVersion = 2;