|
QGroundControl
Ground Control Station for MAVLink Drones
|
Sensors Component MVC Controller for SensorsComponent.qml. More...
#include <SensorsComponentController.h>
Inheritance diagram for SensorsComponentController:
Collaboration diagram for SensorsComponentController:Signals | |
| void | showGyroCalAreaChanged (void) |
| void | showOrientationCalAreaChanged (void) |
| void | orientationCalSidesDoneChanged (void) |
| void | orientationCalSidesVisibleChanged (void) |
| void | orientationCalSidesInProgressChanged (void) |
| void | orientationCalSidesRotateChanged (void) |
| void | resetStatusTextArea (void) |
| void | waitingForCancelChanged (void) |
| void | magCalComplete (void) |
Signals inherited from FactPanelController | |
| void | missingParametersAvailable () |
Public Member Functions | |
| SensorsComponentController (void) | |
| QQuickItem *statusLog MEMBER | _statusLog (QQuickItem *progressBar MEMBER _progressBar) 1(QQuickItem *compassButton MEMBER _compassButton) 1(QQuickItem *gyroButton MEMBER _gyroButton) 1(QQuickItem *accelButton MEMBER _accelButton) 1(QQuickItem *airspeedButton MEMBER _airspeedButton) 1(QQuickItem *levelButton MEMBER _levelButton) 1(QQuickItem *cancelButton MEMBER _cancelButton) 1(QQuickItem *setOrientationsButton MEMBER _setOrientationsButton) 1(QQuickItem *orientationCalAreaHelpText MEMBER _orientationCalAreaHelpText) 1(bool showOrientationCalArea MEMBER _showOrientationCalArea NOTIFY showOrientationCalAreaChanged) 1(bool orientationCalDownSideDone MEMBER _orientationCalDownSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalUpsideDownSideDone MEMBER _orientationCalUpsideDownSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalLeftSideDone MEMBER _orientationCalLeftSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalRightSideDone MEMBER _orientationCalRightSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalNoseDownSideDone MEMBER _orientationCalNoseDownSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalTailDownSideDone MEMBER _orientationCalTailDownSideDone NOTIFY orientationCalSidesDoneChanged) 1(bool orientationCalDownSideVisible MEMBER _orientationCalDownSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalUpsideDownSideVisible MEMBER _orientationCalUpsideDownSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalLeftSideVisible MEMBER _orientationCalLeftSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalRightSideVisible MEMBER _orientationCalRightSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalNoseDownSideVisible MEMBER _orientationCalNoseDownSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalTailDownSideVisible MEMBER _orientationCalTailDownSideVisible NOTIFY orientationCalSidesVisibleChanged) 1(bool orientationCalDownSideInProgress MEMBER _orientationCalDownSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalUpsideDownSideInProgress MEMBER _orientationCalUpsideDownSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalLeftSideInProgress MEMBER _orientationCalLeftSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalRightSideInProgress MEMBER _orientationCalRightSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalNoseDownSideInProgress MEMBER _orientationCalNoseDownSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalTailDownSideInProgress MEMBER _orientationCalTailDownSideInProgress NOTIFY orientationCalSidesInProgressChanged) 1(bool orientationCalDownSideRotate MEMBER _orientationCalDownSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool orientationCalUpsideDownSideRotate MEMBER _orientationCalUpsideDownSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool orientationCalLeftSideRotate MEMBER _orientationCalLeftSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool orientationCalRightSideRotate MEMBER _orientationCalRightSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool orientationCalNoseDownSideRotate MEMBER _orientationCalNoseDownSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool orientationCalTailDownSideRotate MEMBER _orientationCalTailDownSideRotate NOTIFY orientationCalSidesRotateChanged) 1(bool waitingForCancel MEMBER _waitingForCancel NOTIFY waitingForCancelChanged) 1 void calibrateCompass(void) |
| void | calibrateGyro (void) |
| void | calibrateAccel (void) |
| void | calibrateLevel (void) |
| void | calibrateAirspeed (void) |
| void | cancelCalibration (void) |
| bool | usingUDPLink (void) |
| void | resetFactoryParameters () |
Additional Inherited Members | |
Protected Member Functions inherited from FactPanelController | |
| bool | _allParametersExists (int componentId, const QStringList &names) const |
| void | _reportMissingParameter (int componentId, const QString &name) const |
| Report a missing parameter. | |
Protected Attributes inherited from FactPanelController | |
| Vehicle * | _vehicle = nullptr |
Sensors Component MVC Controller for SensorsComponent.qml.
Definition at line 12 of file SensorsComponentController.h.
| SensorsComponentController::SensorsComponentController | ( | void | ) |
Definition at line 9 of file SensorsComponentController.cc.
References Vehicle::sensorsParametersResetAck().
| QQuickItem *statusLog MEMBER SensorsComponentController::_statusLog | ( | QQuickItem *progressBar MEMBER | _progressBar | ) |
| void SensorsComponentController::calibrateAccel | ( | void | ) |
Definition at line 197 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationAccel, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateAirspeed | ( | void | ) |
Definition at line 209 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationPX4Airspeed, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateGyro | ( | void | ) |
Definition at line 185 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationGyro, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateLevel | ( | void | ) |
Definition at line 203 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationLevel, and Vehicle::startCalibration().
| void SensorsComponentController::cancelCalibration | ( | void | ) |
Definition at line 479 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, Vehicle::stopCalibration(), and waitingForCancelChanged().
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| void SensorsComponentController::resetFactoryParameters | ( | ) |
Definition at line 503 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, Vehicle::defaultComponentId(), and Vehicle::sendMavCommand().
|
signal |
|
signal |
|
signal |
| bool SensorsComponentController::usingUDPLink | ( | void | ) |
Definition at line 56 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, VehicleLinkManager::primaryLink(), and Vehicle::vehicleLinkManager().
|
signal |
Referenced by cancelCalibration().