5#include <QtCore/QPointer>
6#include <QtPositioning/QGeoPositionInfo>
7#include <QtQmlIntegration/QtQmlIntegration>
22 Q_CLASSINFO(
"RegisterEnumClassesUnscoped",
"false")
165 void _clearIntegrity();
166 void _clearRtkStatus();
167 void _updateFix(
int fixType,
int satellitesVisible,
double hdopValue,
double vdopValue,
double courseValue,
170 void _reportPosition(QGeoPositionInfo position,
int fixType);
196 QPointer<RuntimeScheduler> _scheduler;
struct __mavlink_message mavlink_message_t
Used to group Facts together into an object hierarachy.
A Fact is used to hold a single value within the system.
bool spoofingReported() const
InterferenceState
MAVLink GPS_JAMMING_STATE and GPS_SPOOFING_STATE, which share their values.
Fact * authenticationState()
bool authenticationReported() const
int authenticationSeverity() const
Fact * rtkBaseline()
GPS_RTK (primary) or GPS2_RTK (secondary); cleared when the vehicle stops reporting them.
static constexpr std::chrono::seconds GNSS_INTEGRITY_TIMEOUT
The GNSS_INTEGRITY facts return to unreported when the vehicle stops sending it for this long.
bool jammingReported() const
Fact * postProcessingQuality()
int interferenceState() const
void handleMessage(Vehicle *vehicle, const mavlink_message_t &message) override
Allows a FactGroup to parse incoming messages and fill in values.
static constexpr int NOT_REPORTED
The value of a state the vehicle has not reported.
Fact * correctionsQuality()
Fact * gnssSignalQuality()
QString systemErrorText() const
The receiver's reported system errors, comma separated; empty when there are none.
ReceiverIndex
The worse of the reported spoofing and jamming states, or 0 when neither is reported.
static constexpr bool reported(int state)
A state other than Unknown or NOT_REPORTED.
Fact * horizontalAccuracy()
AuthenticationState
MAVLink GPS_AUTHENTICATION_STATE.
void systemErrorTextChanged()
void positionReported(const QGeoPositionInfo &position, int fixType)
Fact * courseOverGround()
static constexpr std::chrono::seconds RTK_STATUS_TIMEOUT
Fact * verticalAccuracy()