|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <array>#include <cstdint>#include <optional>#include <variant>#include <vector>#include <QtCore/QByteArray>#include <QtCore/QFlags>#include "GPSReceiverReports.h"#include "GPSType.h"
Include dependency graph for GPSProtocolEvent.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | GPSDecodedPosition |
| Decoded navigation plus whether the producer accepted its velocity solution. More... | |
| struct | GPSDecodedSatellites |
| struct | GPSDecodedSatellites::Constellation |
| struct | GPSDecodedSatelliteUsage |
| struct | GPSRTCMFrame |
| One RTCM3 frame the receiver produced, including its header and CRC. More... | |
| struct | GPSInputProtocol |
| struct | GPSEventBatch |
| Events decoded from one span of received bytes, in publication order. More... | |
Typedefs | |
| using | GPSProtocolEvent = std::variant< GPSDecodedPosition, GPSIntegrityReport, GPSDecodedSatellites, GPSDecodedSatelliteUsage, GPSSurveyReport, GPSRTCMFrame, GPSInputProtocol > |
Enumerations | |
| enum class | GPSReceiveUpdate : uint8_t { Position = 0x1 , Satellites = 0x2 , Activity = 0x4 } |
Functions | |
| std::optional< uint8_t > | gpsSatellitesUsed (std::optional< unsigned > count) |
| A reported used-satellite count; receivers report UINT8_MAX and above when the count is unknown. | |
| using GPSProtocolEvent = std::variant<GPSDecodedPosition, GPSIntegrityReport, GPSDecodedSatellites, GPSDecodedSatelliteUsage, GPSSurveyReport, GPSRTCMFrame, GPSInputProtocol> |
Definition at line 103 of file GPSProtocolEvent.h.
|
strong |
What a decode or receive cycle produced. Position and satellite updates are navigation data; activity is protocol traffic that proves the receiver is talking, such as acknowledgements, diagnostics and corrections.
| Enumerator | |
|---|---|
| Position | |
| Satellites | |
| Activity | |
Definition at line 17 of file GPSProtocolEvent.h.
|
inline |
A reported used-satellite count; receivers report UINT8_MAX and above when the count is unknown.
Definition at line 85 of file GPSProtocolEvent.h.