Go to the documentation of this file.
73 #define CBDESCTEST(EXP, CARRIERBAND) TUASSERTE(std::string, EXP, gnsstk::ObsID::cbDesc[CARRIERBAND])
74 #define TCDESCTEST(EXP, TRACKINGCODE) TUASSERTE(std::string, EXP, gnsstk::ObsID::tcDesc[TRACKINGCODE])
75 #define OTDESCTEST(EXP, OBSTYPE) TUASSERTE(std::string, EXP, gnsstk::ObsID::otDesc[OBSTYPE])
83 TUDEF(
"ObsID",
"ObsID()");
100 TUCSM(
"ObsID(ObservationType,CarrierBand,TrackingCode)");
117 TUCSM(
"ObsID(ObservationType,CarrierBand,TrackingCode,XmitAnt)");
135 TUCSM(
"ObsID(ObservationType,CarrierBand,TrackingCode,int)");
153 TUCSM(
"ObsID(ObservationType,CarrierBand,TrackingCode,int,XmitAnt)");
178 TUDEF(
"ObsID",
"dump");
179 std::string failMesg;
184 std::string outputString, referenceString;
185 std::stringstream outputStream, os2;
187 compare.
dump(outputStream);
188 outputString = outputStream.str();
190 referenceString =
"L2 GPSY doppler";
192 TUASSERTE(std::string, referenceString, outputString);
196 TUASSERTE(std::string,
"L2 GPSY doppler 0/true 0/0 Any", os2.str());
205 TUDEF(
"ObsID",
"asString");
206 std::string failMesg;
211 std::string outputString, referenceString;
214 referenceString =
"E5b GALI5 phase";
216 TUASSERTE(std::string, referenceString, outputString);
224 TUDEF(
"ObsID",
"asString");
267 TUDEF(
"ObsID",
"operator==");
268 std::string failMesg;
340 TUDEF(
"ObsID",
"cbDesc");
360 TUDEF(
"ObsID",
"tcDesc");
436 TUDEF(
"ObsID",
"otDesc");
461 unsigned errorTotal = 0;
473 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorTotal
CarrierBand asCarrierBand(const std::string &s) noexcept
Convert a string name to an CarrierBand.
@ Undefined
Observation type is known to be undefined (as opposed to unknown)
@ TrackLen
Number of continuous epochs of 'good' tracking.
@ E5abIQ
Galileo E5 I+Q combined tracking.
@ L5IQ
Modernized GPS L5 civil I+Q combined tracking.
XmitAnt xmitAnt
Identify the transmitting antenna.
@ YCodeless
Encrypted legacy GPS precise code, squaring codeless tracking.
@ L1CD
Modernized GPS L1C civil code tracking (data)
@ L5Q
Modernized GPS L5 civil quadrature.
#define TUCATCH(STATEMENT)
@ RngStdDev
pseudorange standard deviation, in meters
#define OTDESCTEST(EXP, OBSTYPE)
@ L1CP
Modernized GPS L1C civil code tracking (pilot)
@ E5bQ
Galileo E5b Q code.
@ E1A
Galileo L1 PRS code.
@ L2CL
Modernized GPS L2 civil L code.
@ E1B
Galileo E1-B signal, supporting OS/HAS/SoL.
@ Phase
accumulated phase, in cycles
TrackingCode asTrackingCode(const std::string &s) noexcept
Convert a string name to an TrackingCode.
#define TUASSERTE(TYPE, EXP, GOT)
@ DemodStat
Demodulator status.
@ Y
Encrypted legacy GPS precise code.
@ LLI
Loss of Lock Indicator (RINEX)
@ L5I
Modernized GPS L5 civil in-phase.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
@ SNR
Signal strength, in dB-Hz.
@ Standard
Transmitting antenna is the primary for that signal.
@ Range
pseudorange, in meters
@ MDP
Modernized GPS military unique code.
@ Unknown
Uninitialized value.
@ E5abI
Galileo E5 I code.
@ E5aIQ
Galileo E5a I+Q combined tracking.
@ Standard
Legacy Glonass civil signal.
@ NavMsg
Navigation Message data.
@ E5aI
Galileo E5a I code.
@ CA
Legacy GPS civil code.
@ Any
Used to match any observation type.
unsigned asStringEnumTest()
void setMcodeBits(uint32_t newval, uint32_t newmask=-1)
Set the value of mcode while simultaneously setting the mask.
@ PhsStdDev
phase standard deviation, in cycles
std::ostream & operator<<(std::ostream &s, const ObsEpoch &oe) noexcept
#define CBDESCTEST(EXP, CARRIERBAND)
@ L2CML
Modernized GPS L2 civil M+L combined tracking.
@ Ztracking
Encrypted legacy GPS precise code, codeless Z tracking.
@ B3IQ
BeiDou B3 I+Q code.
@ E5ab
Galileo E5, BeiDou B2.
@ L3OCD
Glonass L3 I code.
@ L1
GPS L1, Galileo E1, SBAS L1, QZSS L1, BeiDou L1.
@ E1BC
Galileo E1 B+C combined tracking.
unsigned initializationTest()
@ E5abQ
Galileo E5 Q code.
#define TUDEF(CLASS, METHOD)
#define TCDESCTEST(EXP, TRACKINGCODE)
@ P
Legacy GPS precise code.
@ E5bIQ
Galileo E5b I+Q combined tracking.
@ B2IQ
BeiDou B2 I+Q code.
@ L2CM
Modernized GPS L2 civil M code.
bool freqOffsWild
True=Treat freqOffs as a wildcard when matching.
uint32_t mcodeMask
Bitmask for matching mcode.
int freqOffs
GLONASS frequency offset.
@ Semicodeless
Encrypted legacy GPS precise code, other codeless tracking.
@ E5bI
Galileo E5b I code.
uint32_t mcode
Data to uniquely identify M-code signal.
@ L3OCP
Glonass L3 Q code.
@ E5aQ
Galileo E5a Q code.
@ Regional
Transmitting antenna is secondary, regional coverage.
virtual std::ostream & dump(std::ostream &s) const
Convenience output method.
@ Precise
Legacy Glonass precise signal.
@ L1CDP
Modernized GPS L1C civil code tracking (pilot + data)
@ E1ABC
Galileo E1 A+B+C combined tracking.
@ L3OCDP
Glonass L3 I+Q combined tracking.
@ SSI
Signal Strength Indicator (RINEX)
@ E1C
Galileo E1 Dataless code.
@ Any
When making comparisons in ObsID, matches any enumeration.
@ FreqIndx
GLONASS frequency offset index.
static GNSSTK_EXPORT bool verbose
@ LEXSL
QZSS LEX(6) combined tracking.
ObservationType asObservationType(const std::string &s) noexcept
Convert a string name to an ObservationType.
@ Unknown
Uninitialized value.
@ L5
GPS L5, Galileo E5a, SBAS L5, QZSS L5, BeiDou B2a, NavIC L5.
ObservationType
The type of observation, mostly used by ObsID.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40