0.2.0
Loading...
Searching...
No Matches
NAV::SPP::Algorithm Class Reference

Single Point Positioning Algorithm. More...

Public Types

enum class  EstimatorType {
  LeastSquares ,
  WeightedLeastSquares ,
  KalmanFilter ,
  COUNT
}
 Possible SPP estimation algorithms. More...
 
enum  ReceiverType {
  Rover ,
  ReceiverType_COUNT
}
 Receiver Types. More...
 

Public Member Functions

std::shared_ptr< SppSolutioncalcSppSolution (const std::shared_ptr< const GnssObs > &gnssObs, const std::vector< const GnssNavInfo * > &gnssNavInfos, const std::string &nameId)
 Calculate the SPP solution.
 
void reset ()
 Reset the algorithm.
 
bool ShowGuiWidgets (const char *id, float itemWidth, float unitWidth)
 Shows the GUI input to select the options.
 

Public Attributes

ObservationEstimator _obsEstimator
 Observation Estimator.
 
ObservationFilter _obsFilter
 Observation Filter.
 

Detailed Description

Single Point Positioning Algorithm.

Member Enumeration Documentation

◆ EstimatorType

Possible SPP estimation algorithms.

Enumerator
LeastSquares 

Linear Least Squares.

WeightedLeastSquares 

Weighted Linear Least Squares.

KalmanFilter 

Kalman Filter.

COUNT 

Amount of items in the enum.

◆ ReceiverType

Receiver Types.

Enumerator
Rover 

Rover.

ReceiverType_COUNT 

Amount of receiver types.

Member Function Documentation

◆ calcSppSolution()

std::shared_ptr< SppSolution > NAV::SPP::Algorithm::calcSppSolution ( const std::shared_ptr< const GnssObs > & gnssObs,
const std::vector< const GnssNavInfo * > & gnssNavInfos,
const std::string & nameId )

Calculate the SPP solution.

Parameters
[in]gnssObsGNSS observation
[in]gnssNavInfosCollection of GNSS Nav information
[in]nameIdName and id of the node calling this (only used for logging purposes)
Returns
The SPP Solution if it could be calculated, otherwise nullptr

◆ ShowGuiWidgets()

bool NAV::SPP::Algorithm::ShowGuiWidgets ( const char * id,
float itemWidth,
float unitWidth )

Shows the GUI input to select the options.

Parameters
[in]idUnique id for ImGui.
[in]itemWidthWidth of the widgets
[in]unitWidthWidth on unit inputs

The documentation for this class was generated from the following file: