Sensors Component MVC Controller for SensorsComponent.qml.
More...
#include <SensorsComponentController.h>
|
| enum | SideCalState { SideCalStateIdle
, SideCalStateIncomplete
, SideCalStateInProgress
, SideCalStateCompleted
} |
| enum | ActiveCalibration {
ActiveCalibrationNone
, ActiveCalibrationCompass
, ActiveCalibrationGyro
, ActiveCalibrationAccel
,
ActiveCalibrationLevel
, ActiveCalibrationAirspeed
, ActiveCalibrationBaro
} |
| | Calibration which is running through the firmware's [cal] message protocol. More...
|
| enum | CalibrationResult { CalibrationResultNone
, CalibrationResultSuccess
, CalibrationResultFailed
} |
| | How the last calibration which the page shows in its panel ended. More...
|
| enum class | LargeVehicleCalibrationResult { Pending
, Succeeded
, Failed
} |
Sensors Component MVC Controller for SensorsComponent.qml.
Definition at line 10 of file SensorsComponentController.h.
◆ ActiveCalibration
Calibration which is running through the firmware's [cal] message protocol.
| Enumerator |
|---|
| ActiveCalibrationNone | |
| ActiveCalibrationCompass | |
| ActiveCalibrationGyro | |
| ActiveCalibrationAccel | |
| ActiveCalibrationLevel | |
| ActiveCalibrationAirspeed | |
| ActiveCalibrationBaro | |
Definition at line 28 of file SensorsComponentController.h.
◆ CalibrationResult
How the last calibration which the page shows in its panel ended.
| Enumerator |
|---|
| CalibrationResultNone | Running, cancelled, or none has run.
|
| CalibrationResultSuccess | |
| CalibrationResultFailed | |
Definition at line 41 of file SensorsComponentController.h.
◆ LargeVehicleCalibrationResult
◆ SideCalState
Calibration state of a single orientation side shown in the preview. Values must stay in sync with the VehicleRotationCal.CalState QML enum.
| Enumerator |
|---|
| SideCalStateIdle | No calibration data to show (neutral preview).
|
| SideCalStateIncomplete | Calibration running, side not yet calibrated.
|
| SideCalStateInProgress | Side actively being calibrated.
|
| SideCalStateCompleted | Side calibration complete.
|
Definition at line 19 of file SensorsComponentController.h.
◆ SensorsComponentController()
| SensorsComponentController::SensorsComponentController |
( |
void | | ) |
|
◆ activeCalibration()
◆ calibrateAccel()
| void SensorsComponentController::calibrateAccel |
( |
void | | ) |
|
◆ calibrateAirspeed()
| void SensorsComponentController::calibrateAirspeed |
( |
void | | ) |
|
◆ calibrateBaro()
| void SensorsComponentController::calibrateBaro |
( |
void | | ) |
|
◆ calibrateCompass()
| void SensorsComponentController::calibrateCompass |
( |
void | | ) |
|
What the firmware has logged during the calibration, one message per line.
The firmware's reason for a failed calibration, empty otherwise True after the vehicle was put on a side which is already calibrated, until another side is detected 0 to 1, as reported by the firmware's progress messages True from the large vehicle calibration request until its result
Definition at line 196 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, and QGCMAVLink::CalibrationMag.
◆ calibrateCompassLargeVehicle()
| void SensorsComponentController::calibrateCompassLargeVehicle |
( |
double | headingDegrees | ) |
|
◆ calibrateGyro()
| void SensorsComponentController::calibrateGyro |
( |
void | | ) |
|
◆ calibrateLevel()
| void SensorsComponentController::calibrateLevel |
( |
void | | ) |
|
◆ calibrationActive()
| bool SensorsComponentController::calibrationActive |
( |
| ) |
const |
|
inline |
◆ calibrationActiveChanged
| void SensorsComponentController::calibrationActiveChanged |
( |
void | | ) |
|
|
signal |
◆ calibrationFailureText()
| QString SensorsComponentController::calibrationFailureText |
( |
| ) |
const |
|
inline |
◆ calibrationLog()
| QString SensorsComponentController::calibrationLog |
( |
| ) |
const |
|
inline |
◆ calibrationLogChanged
| void SensorsComponentController::calibrationLogChanged |
( |
void | | ) |
|
|
signal |
◆ calibrationProgress()
| double SensorsComponentController::calibrationProgress |
( |
| ) |
const |
|
inline |
◆ calibrationProgressChanged
| void SensorsComponentController::calibrationProgressChanged |
( |
void | | ) |
|
|
signal |
◆ calibrationResult()
◆ calibrationResultChanged
| void SensorsComponentController::calibrationResultChanged |
( |
void | | ) |
|
|
signal |
◆ cancelCalibration()
| void SensorsComponentController::cancelCalibration |
( |
void | | ) |
|
◆ deviceDescription()
| QString SensorsComponentController::deviceDescription |
( |
int | deviceId | ) |
const |
◆ inlineCalibrationFinished
| void SensorsComponentController::inlineCalibrationFinished |
( |
bool | success, |
|
|
const QString & | message ) |
|
signal |
A gyroscope, barometer or level horizon calibration finished. message is the firmware's failure text, empty on success.
◆ largeVehicleCalibrationFinished
| void SensorsComponentController::largeVehicleCalibrationFinished |
( |
bool | success, |
|
|
const QString & | message ) |
|
signal |
success is false when the firmware reported a failure, message is its text
◆ largeVehicleCalibrationPending()
| bool SensorsComponentController::largeVehicleCalibrationPending |
( |
| ) |
const |
|
inline |
◆ largeVehicleCalibrationPendingChanged
| void SensorsComponentController::largeVehicleCalibrationPendingChanged |
( |
void | | ) |
|
|
signal |
◆ largeVehicleCalibrationResult()
◆ largeVehicleCommandFailureText()
| QString SensorsComponentController::largeVehicleCommandFailureText |
( |
int | failureCode | ) |
|
|
static |
◆ magCalComplete
| void SensorsComponentController::magCalComplete |
( |
void | | ) |
|
|
signal |
◆ orientationCalSidesStateChanged
| void SensorsComponentController::orientationCalSidesStateChanged |
( |
void | | ) |
|
|
signal |
◆ orientationCalSidesVisibleChanged
| void SensorsComponentController::orientationCalSidesVisibleChanged |
( |
void | | ) |
|
|
signal |
◆ resetFactoryParameters()
| void SensorsComponentController::resetFactoryParameters |
( |
| ) |
|
◆ showGyroCalAreaChanged
| void SensorsComponentController::showGyroCalAreaChanged |
( |
void | | ) |
|
|
signal |
◆ showOrientationCalAreaChanged
| void SensorsComponentController::showOrientationCalAreaChanged |
( |
void | | ) |
|
|
signal |
◆ usingUDPLink()
| bool SensorsComponentController::usingUDPLink |
( |
void | | ) |
|
◆ waitingForCancelChanged
| void SensorsComponentController::waitingForCancelChanged |
( |
void | | ) |
|
|
signal |
The documentation for this class was generated from the following files: