32 [[nodiscard]]
static std::string
type()
34 return "GnssCombination";
39 [[nodiscard]] std::string
getType()
const override {
return type(); }
76 std::vector<std::string> descriptors;
81 descriptors.push_back(comb.description);
82 descriptors.push_back(comb.description +
" Cycle Slip");
83 descriptors.push_back(comb.description +
" Prediction");
84 descriptors.push_back(comb.description +
" Meas - Pred");
92 [[nodiscard]] std::optional<double>
getDynamicDataAt(
const std::string& descriptor)
const override
96 if (descriptor == comb.description) {
return comb.result; }
97 if (descriptor == comb.description +
" Cycle Slip" && comb.cycleSlipResult) {
return static_cast<double>(*comb.cycleSlipResult); }
98 if (descriptor == comb.description +
" Prediction") {
return comb.cycleSlipPrediction; }
99 if (descriptor == comb.description +
" Meas - Pred") {
return comb.cycleSlipMeasMinPred; }
105 [[nodiscard]] std::vector<std::pair<std::string, double>>
getDynamicData()
const override
107 std::vector<std::pair<std::string, double>> dynData;
111 if (comb.result) { dynData.emplace_back(comb.description, *comb.result); }
112 if (comb.cycleSlipResult) { dynData.emplace_back(comb.description +
" Cycle Slip",
static_cast<double>(*comb.cycleSlipResult)); }
113 if (comb.cycleSlipPrediction) { dynData.emplace_back(comb.description +
" Prediction", *comb.cycleSlipPrediction); }
114 if (comb.cycleSlipMeasMinPred) { dynData.emplace_back(comb.description +
" Meas - Pred", *comb.cycleSlipMeasMinPred); }
GNSS Observation messages.
Polynomial Cycle-slip detection algorithm.
GNSS measurement combinations.
std::string getType() const override
Returns the type of the data class.
static std::string type()
Returns the type of the data class.
std::vector< std::pair< std::string, double > > getDynamicData() const override
Returns a vector of data descriptors and values for the dynamic data.
std::optional< double > getDynamicDataAt(const std::string &descriptor) const override
Get the value for the descriptor.
std::vector< std::string > dynamicDataDescriptors() const override
Returns a vector of data descriptors for the dynamic data.
static std::vector< std::string > parentTypes()
Returns the parent types of the data class.
std::vector< Combination > combinations
List of combinations.
ObservationType
Observation types.
NodeData()=default
Default constructor.
static std::string type()
Returns the type of the data class.
Term of a combination equation.
std::optional< double > value
Measurement (if present)
SatSigId satSigId
SignalId and satellite number.
GnssObs::ObservationType obsType
Observation Type.
Combination of GNSS measurements.
std::optional< double > cycleSlipMeasMinPred
Measurement minus predicted value from the cycle-slip detector.
std::optional< double > cycleSlipPrediction
Predicted value from the cycle-slip detector (polynomial fit)
std::optional< PolynomialCycleSlipDetectorResult > cycleSlipResult
Cycle-slip result.
std::vector< std::tuple< InsTime, Polynomial< double >, double > > cycleSlipPolynomials
Polynomial fits.
std::string description
String describing the combination.
std::optional< double > result
Calculated combination (only set if all terms where present)
std::vector< Term > terms
List of terms making up the combination.
Identifies a satellite signal (satellite frequency and number)