#include "GPSReceiverSession.h"#include <cmath>#include <limits>#include <utility>#include "GPSCorrectionManager.h"#include "GPSReceiverDescriptor.h"#include "PositionManager.h"#include "QGCLoggingCategory.h"Go to the source code of this file.
Functions | |
| GPSReceiverConfig | gpsReceiverConfigFor (const GPSBaseStationConfig &base, GPSType type, uint32_t baudRate, bool allowPersistentChanges, QString *error) |
| GPSBaseStationState | gpsBaseStationStateFor (GPSType type, const GPSReceiverConfig &config) |
| The state a session starts from; a fixed base knows its position before the receiver reports. | |
|
nodiscard |
The state a session starts from; a fixed base knows its position before the receiver reports.
Definition at line 46 of file GPSReceiverSession.cc.
References GPSReceiverConfig::base, BaseModeDefinition::BaseFixed, BaseModeDefinition::BaseReceiverAveraging, BaseModeDefinition::BaseSurveyIn, GPSBaseStationConfig::mode, GPSBaseStationState::mode, GPSBaseStationState::position, and GPSBaseStationState::surveyAccuracyLimitMeters.
Referenced by GPSReceiverSession::GPSReceiverSession().
|
nodiscard |
Builds the receiver request for one connection: a passive receiver gets no base settings, and compact observations apply only where the family supports them. error, when given, receives the translated diagnostic, which is empty when the receiver supports the request; the request is returned either way.
Definition at line 30 of file GPSReceiverSession.cc.
References GPSReceiverConfig::base, GPSBaseStationConfig::compactObservations, GPSReceiverCapabilities::compactObservations, gpsReceiverCapabilities(), and gpsReceiverConfigError().