QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSReceiverMessages Namespace Reference

The wording of GPSReceiver's errors, warnings and labels, translated in the GPSReceiver context. More...

Classes

struct  ReceiverStatus
 What the receiver status sentence describes. More...

Functions

QString sessionEnded (GPSReceiverSessionOutcome outcome, GPSConnectionError error, const QString &detail, bool portRemoved)
QString consentRefused (const QString &detail, GPSType family)
 The error of an automatic connection that the family receiver refused for lack of flash-save consent.
QString inputProblem (GPSInputProblem problem, std::optional< GPSType > detected, const QString &endpoint, bool forwardingCorrections)
QString outputOverflow (RTKSettings::ReceiverRole role, bool compactObservations)
 The warning that the receiver produces more output than its connection carries.
QString fixLabel (GPSFixQuality fixType)
 The short label of a fix type; empty for an unknown one.
QString receiverStatus (const ReceiverStatus &status)
 The receiver status sentence; empty when no receiver is connected or being connected.

Detailed Description

The wording of GPSReceiver's errors, warnings and labels, translated in the GPSReceiver context.

Function Documentation

◆ consentRefused()

QString GPSReceiverMessages::consentRefused ( const QString & detail,
GPSType family )
nodiscard

The error of an automatic connection that the family receiver refused for lack of flash-save consent.

Definition at line 83 of file GPSReceiverMessages.cc.

References gpsReceiverName().

◆ fixLabel()

QString GPSReceiverMessages::fixLabel ( GPSFixQuality fixType)
nodiscard

The short label of a fix type; empty for an unknown one.

Definition at line 146 of file GPSReceiverMessages.cc.

◆ inputProblem()

QString GPSReceiverMessages::inputProblem ( GPSInputProblem problem,
std::optional< GPSType > detected,
const QString & endpoint,
bool forwardingCorrections )
nodiscard

Why a passive receiver delivers no position, for the protocol detected in its output; empty when positions arrive, or when forwarding is all a corrections-only receiver needs to do.

Definition at line 93 of file GPSReceiverMessages.cc.

◆ outputOverflow()

QString GPSReceiverMessages::outputOverflow ( RTKSettings::ReceiverRole role,
bool compactObservations )
nodiscard

The warning that the receiver produces more output than its connection carries.

Definition at line 128 of file GPSReceiverMessages.cc.

References RTKSettings::Passive.

◆ receiverStatus()

◆ sessionEnded()

QString GPSReceiverMessages::sessionEnded ( GPSReceiverSessionOutcome outcome,
GPSConnectionError error,
const QString & detail,
bool portRemoved )
nodiscard

The error a session leaves when it ends with error and the transport's or protocol's detail, after the connection policy chose outcome.

Definition at line 37 of file GPSReceiverMessages.cc.

References AutoRetrying, None, Retrying, Unplugged, and WaitingForPort.