|
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) |
| void | calibrationActiveChanged (void) |
Signals inherited from FactPanelController | |
| void | missingParametersAvailable () |
Public Member Functions | |
| SensorsComponentController (void) | |
| Q_INVOKABLE void | calibrateCompass (void) |
| Q_INVOKABLE void | calibrateGyro (void) |
| Q_INVOKABLE void | calibrateAccel (void) |
| Q_INVOKABLE void | calibrateLevel (void) |
| Q_INVOKABLE void | calibrateAirspeed (void) |
| Q_INVOKABLE void | cancelCalibration (void) |
| Q_INVOKABLE bool | usingUDPLink (void) |
| Q_INVOKABLE void | resetFactoryParameters () |
| bool | calibrationActive () const |
Public Member Functions inherited from FactPanelController | |
| FactPanelController (QObject *parent=nullptr) | |
| virtual | ~FactPanelController () |
| Q_INVOKABLE Fact * | getParameterFact (int componentId, const QString &name, bool reportMissing=true) const |
| Q_INVOKABLE bool | parameterExists (int componentId, const QString &name) const |
| Q_INVOKABLE void | getMissingParameters (const QStringList &rgNames) |
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 10 of file SensorsComponentController.h.
| SensorsComponentController::SensorsComponentController | ( | void | ) |
Definition at line 10 of file SensorsComponentController.cc.
References Vehicle::sensorsParametersResetAck().
| void SensorsComponentController::calibrateAccel | ( | void | ) |
Definition at line 176 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationAccel, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateAirspeed | ( | void | ) |
Definition at line 188 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationPX4Airspeed, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateCompass | ( | void | ) |
Definition at line 170 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationMag, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateGyro | ( | void | ) |
Definition at line 164 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationGyro, and Vehicle::startCalibration().
| void SensorsComponentController::calibrateLevel | ( | void | ) |
Definition at line 182 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, QGCMAVLink::CalibrationLevel, and Vehicle::startCalibration().
|
inline |
Definition at line 65 of file SensorsComponentController.h.
|
signal |
| void SensorsComponentController::cancelCalibration | ( | void | ) |
Definition at line 459 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, Vehicle::stopCalibration(), and waitingForCancelChanged().
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| void SensorsComponentController::resetFactoryParameters | ( | ) |
Definition at line 482 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, Vehicle::defaultComponentId(), and Vehicle::sendMavCommand().
|
signal |
|
signal |
|
signal |
| bool SensorsComponentController::usingUDPLink | ( | void | ) |
Definition at line 50 of file SensorsComponentController.cc.
References FactPanelController::_vehicle, VehicleLinkManager::primaryLink(), LinkConfiguration::TypeUdp, and Vehicle::vehicleLinkManager().
|
signal |
Referenced by cancelCalibration().