|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSReceiverFactGroup.h>
Inheritance diagram for GPSReceiverFactGroup:
Collaboration diagram for GPSReceiverFactGroup:Signals | |
| void | currentBasePositionChanged () |
| void | receiverWarningChanged () |
Signals inherited from FactGroup | |
| void | factNamesChanged () |
| void | factGroupNamesChanged () |
| void | telemetryAvailableChanged (bool telemetryAvailable) |
Public Member Functions | |
| Fact * | currentDuration () |
| Fact * | currentAccuracy () |
| Fact * | valid () |
| Fact * | active () |
| Fact * | numSatellites () |
| Fact * | numSatellitesUsed () |
| Fact * | fixType () |
| Fact * | jammingState () |
| Fact * | spoofingState () |
| Fact * | antennaState () |
| std::optional< GPSBaseStationConfig::Fixed > | currentBasePosition () const |
| bool | canSaveCurrentBasePosition () const |
| bool | currentBasePositionSaved () const |
| bool | receiverWarning () const |
| Jamming at Warning or Critical, any spoofing indication, or an open or shorted antenna. | |
Public Member Functions inherited from FactGroup | |
| FactGroup (int updateRateMsecs, const QString &metaDataFile, QObject *parent=nullptr, bool ignoreCamelCase=false) | |
| < false: No telemetry for these values has been received | |
| FactGroup (int updateRateMsecs, QObject *parent=nullptr, bool ignoreCamelCase=false) | |
| virtual | ~FactGroup () |
| Q_INVOKABLE bool | factExists (const QString &name) const |
| @ return true: if the fact exists in the group | |
| Q_INVOKABLE Fact * | getFact (const QString &name) const |
| Q_INVOKABLE FactGroup * | getFactGroup (const QString &name) const |
| Q_INVOKABLE void | setLiveUpdates (bool liveUpdates) |
| Turning on live updates will allow value changes to flow through as they are received. | |
| QStringList | factNames () const |
| QStringList | factGroupNames () const |
| bool | telemetryAvailable () const |
| const QMap< QString, FactGroup * > & | factGroups () const |
| virtual void | handleMessage (Vehicle *, const mavlink_message_t &) |
| Allows a FactGroup to parse incoming messages and fill in values. | |
Friends | |
| class | GPSReceiver |
| The current base position was saved to the settings since the survey that produced it started. | |
| class | GPSManager |
Additional Inherited Members | |
Protected Slots inherited from FactGroup | |
| virtual void | _updateAllValues () |
Protected Member Functions inherited from FactGroup | |
| void | _addFact (Fact *fact, const QString &name) |
| void | _addFact (Fact *fact) |
| void | _addFactGroup (FactGroup *factGroup, const QString &name) |
| void | _addFactGroup (FactGroup *factGroup) |
| void | _loadFromJsonArray (const QJsonArray &jsonArray) |
| void | _setTelemetryAvailable (bool telemetryAvailable) |
Protected Attributes inherited from FactGroup | |
| const int | _updateRateMSecs = 0 |
| Update rate for Fact::valueChanged signals, 0: immediate update. | |
| QMap< QString, Fact * > | _nameToFactMap |
| QMap< QString, FactGroup * > | _nameToFactGroupMap |
| QMap< QString, FactMetaData * > | _nameToFactMetaDataMap |
| QStringList | _factNames |
The local receiver's status as Facts, which its GPSReceiver writes as the receiver reports. Raw values notify when written; the values QML shows notify at most once a second. telemetryAvailable follows whether the receiver finished configuration.
Definition at line 15 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 45 of file GPSReceiverFactGroup.h.
Referenced by GPSReceiver::GPSReceiver().
|
inline |
Definition at line 57 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 63 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 41 of file GPSReceiverFactGroup.h.
|
inline |
The receiver's valid base position with a known accuracy, which a fixed-position base can start from; empty otherwise. A valid receiver status alone does not establish usable coordinates or accuracy.
Definition at line 61 of file GPSReceiverFactGroup.h.
Referenced by GPSManager::saveCurrentBasePosition().
|
signal |
|
inline |
Definition at line 65 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 39 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 51 of file GPSReceiverFactGroup.h.
Referenced by GPSReceiver::GPSReceiver().
|
inline |
Definition at line 53 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 47 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 49 of file GPSReceiverFactGroup.h.
|
inline |
Jamming at Warning or Critical, any spoofing indication, or an open or shorted antenna.
Definition at line 68 of file GPSReceiverFactGroup.h.
|
signal |
|
inline |
Definition at line 55 of file GPSReceiverFactGroup.h.
|
inline |
Definition at line 43 of file GPSReceiverFactGroup.h.
|
friend |
Definition at line 36 of file GPSReceiverFactGroup.h.
|
friend |
The current base position was saved to the settings since the survey that produced it started.
Definition at line 35 of file GPSReceiverFactGroup.h.