QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSBaseStationState Struct Reference

A receiver session's base-station mode and the antenna position it reports. More...

#include <GPSReceiverSession.h>

Public Member Functions

void applySurvey (const GPSSurveyReport &report)
 A surveying base adopts a valid, located result and otherwise has no position.
 

Public Attributes

std::optional< BaseModeDefinition::Mode > mode
 Base mode of a configured base; empty for a passive receiver.
 
std::optional< std::pair< GPSEllipsoidPosition, double > > position
 Antenna position and its accuracy in meters once known; the receiver then reports only a time fix.
 
std::optional< double > surveyAccuracyLimitMeters
 Assumed accuracy of a survey-in result that reports none.
 

Detailed Description

A receiver session's base-station mode and the antenna position it reports.

Definition at line 23 of file GPSReceiverSession.h.

Member Function Documentation

◆ applySurvey()

void GPSBaseStationState::applySurvey ( const GPSSurveyReport &  report)

A surveying base adopts a valid, located result and otherwise has no position.

Definition at line 14 of file GPSReceiverSession.cc.

References BaseModeDefinition::BaseFixed.

Member Data Documentation

◆ mode

std::optional<BaseModeDefinition::Mode> GPSBaseStationState::mode

Base mode of a configured base; empty for a passive receiver.

Definition at line 26 of file GPSReceiverSession.h.

Referenced by GPSReceiverSession::baseMode(), and gpsBaseStationStateFor().

◆ position

std::optional<std::pair<GPSEllipsoidPosition, double> > GPSBaseStationState::position

Antenna position and its accuracy in meters once known; the receiver then reports only a time fix.

Definition at line 28 of file GPSReceiverSession.h.

Referenced by gpsBaseStationStateFor(), and GPSReceiverSession::observation().

◆ surveyAccuracyLimitMeters

std::optional<double> GPSBaseStationState::surveyAccuracyLimitMeters

Assumed accuracy of a survey-in result that reports none.

Definition at line 30 of file GPSReceiverSession.h.

Referenced by gpsBaseStationStateFor().


The documentation for this struct was generated from the following files: