Go to the documentation of this file.
71 unsigned addDataAllTest();
73 unsigned addDataEphemerisTest();
75 unsigned addDataAlmanacTest();
77 unsigned addDataHealthTest();
79 unsigned addDataTimeTest();
81 unsigned addDataEphHealthTest();
83 unsigned addDataAlmHealthTest();
84 unsigned processEphTest();
85 unsigned processAlmOrbTest();
86 unsigned processRedAlmOrbTest();
87 unsigned process12Test();
88 unsigned process30Test();
92 unsigned process31Test();
93 unsigned process33Test();
94 unsigned process35Test();
96 unsigned processEphWRTest();
112 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
120 std::make_shared<gnsstk::PackedNavBits>(gloSid,gloid,gloNav,
"XX",
178 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
206 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
234 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
261 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
291 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
296 gnsstk::NavMessageType::Health}));
320 TUDEF(
"PNBGPSCNavDataFactory",
"addData");
325 gnsstk::NavMessageType::Health}));
348 TUDEF(
"PNBGPSCNavDataFactory",
"processEph");
384 for (
const auto& i : navOut)
390 bool expHealth =
false;
404 TUFAIL(
"Unexpected nav type: " +
422 for (
const auto& i : navOut)
494 TUDEF(
"PNBGPSCNavDataFactory",
"processAlmOrb");
526 for (
const auto& i : navOut)
545 TUFAIL(
"Unexpected nav type: " +
612 TUDEF(
"PNBGPSCNavDataFactory",
"processRedAlmOrb");
623 TUDEF(
"PNBGPSCNavDataFactory",
"process12");
637 TUDEF(
"PNBGPSCNavDataFactory",
"process30");
648 for (
const auto& i : navOut)
692 TUDEF(
"PNBGPSCNavDataFactory",
"process31");
726 auto i = navOut.begin();
1011 TUDEF(
"PNBGPSCNavDataFactory",
"process33");
1050 TUDEF(
"PNBGPSCNavDataFactory",
"process35");
1090 TUDEF(
"PNBGPSCNavDataFactory",
"processEph");
1100 TUASSERTE(gnsstk::NavDataPtrList::size_type, 0, navOut.size());
1102 TUASSERTE(gnsstk::NavDataPtrList::size_type, 0, navOut.size());
1104 TUASSERTE(gnsstk::NavDataPtrList::size_type, 1, navOut.size());
1105 if (navOut.size() >= 1)
1128 unsigned errorTotal = 0;
1147 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorTotal
bool healthL2
L2 signal health from message type 10.
NavType nav
Navigation message structure of this signal.
@ ISC
Inter-signal corrections.
bool processEph(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
uint8_t uraNED2
non-elevation dependent URA from clock message.
double idot
Rate of inclination angle (rad/sec)
gnsstk::CommonTime msg11CNAVWRct
Class used to identify/categorize navigation message data.
gnsstk::PackedNavBitsPtr msg11CNAVGPSL2
unsigned processEphWRTest()
double deltatLSF
Current or future leap second count (UTC only).
bool healthL2
L2 signal health from message type 10.
int id
Satellite identifier, e.g. PRN.
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
bool healthL5
L5 signal health from message type 10.
#define TUCATCH(STATEMENT)
double Cis
Sine inclination (rad)
double A
Semi-major axis (m)
virtual void setTypeFilter(const NavMessageTypeSet &nmts)
double af2
SV clock drift rate (sec/sec**2)
gnsstk::PackedNavBitsPtr msg30CNAVQZSSL5
bool alert11
Alert flag from message type 11.
gnsstk::PackedNavBitsPtr msg37CNAVQZSSL5
double phi0
Argument of latitude at reference time (M0+w).
#define TUASSERTE(TYPE, EXP, GOT)
CommonTime xmit11
Transmit time for message 11.
NavMessageType messageType
bool healthL1
L1 signal health from message type 10.
gnsstk::CommonTime msg33CNAVGPSL2ct
double OMEGAdot
Rate of Rt ascension (rad/sec)
uint32_t pre
The preamble from the start of the subframe.
TimeSystem tgt
Target time system.
@ L5I
Modernized GPS L5 civil in-phase.
@ Health
SV health status information message.
CommonTime endFit
Time at end of fit interval.
std::list< NavDataPtr > NavDataPtrList
unsigned addDataEphHealthTest()
One additional combo test.
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
double Cuc
Cosine latitude (rad)
unsigned addDataAlmHealthTest()
Another combo test that makes sure alm health is processed correctly.
int8_t uraED
5-bit URA index from message type 10.
double deltatLS
Current or past leap second count (UTC only).
gnsstk::PackedNavBitsPtr msg35CNAVQZSSL5
double w
Argument of perigee (rad)
void validateResults(gnsstk::NavDataPtrList &navOut, unsigned lineNo, size_t totalExp=0, unsigned almExp=0, unsigned ephExp=0, unsigned toExp=0, unsigned heaExp=0, unsigned ionoExp=0, unsigned iscExp=0, unsigned otherExp=0)
const double PI
GPS value of PI; also specified by GAL.
unsigned wnot
Time data reference week number (storage only).
CommonTime Toe
Orbit epoch.
double Crs
Sine radius (m)
SVHealth
Identify different types of SV health states.
NavMessageID signal
Source signal identification for this navigation message data.
CommonTime xmitClk
Transmit time for the clock message.
gnsstk::CommonTime msg10CNAVGPSL2ct
unsigned wnLSF
Leap second reference week number (UTC only).
bool healthL1
L1 signal health from message type 10.
gnsstk::PackedNavBitsPtr msg11CNAVQZSSL5
double a1
Drift coefficient of source time scale.
unsigned wna
Reference week for toa.
gnsstk::PackedNavBitsPtr msg10CNAVQZSSL5
@ Standard
Legacy Glonass civil signal.
CommonTime xmitTime
Time of transmission of the start of the data.
bool processAlmOrb(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
double Adot
Rate of semi-major axis (m/sec)
unsigned dn
Leap second reference day number (UTC only).
double M0
Mean anomaly (rad)
gnsstk::PackedNavBitsPtr msg33CNAVGPSL2
@ NavMsg
Navigation Message data.
@ CA
Legacy GPS civil code.
static const GNSSTK_EXPORT CommonTime END_OF_TIME
latest representable CommonTime
@ Healthy
Satellite is in a healthy and useable state.
double dndot
Rate of correction to mean motion (rad/sec/sec)
double deltai
Inclination in rad relative to 0.3*pi rad.
double Cus
Sine latitude (rad)
double a2
Drift rate coefficient of source time scale.
gnsstk::PackedNavBitsPtr msg10CNAVGPSL2
double deltaA
Semi-major axis relative to reference value.
bool process35(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
unsigned addDataAllTest()
double deltaA
Semi-major axis relative to reference (Aref).
bool healthL5
L5 signal health from message type 10.
@ Iono
Ionospheric correction data.
double Ahalf
Square Root of semi-major axis (m**.5)
bool phasingL2C
L2C phasing.
SatID sat
ID of satellite to which the nav data applies.
CommonTime Toc
Clock epoch.
unsigned addDataHealthTest()
Test addData with health data selected only.
gnsstk::CommonTime msg11CNAVGPSL2ct
uint32_t pre11
The preamble from the start of message type 11.
unsigned addDataTimeTest()
Test addData with time offset data selected only.
bool integStat
Integrity status flag.
gnsstk::PackedNavBitsPtr msg32CNAVGPSL2
TimeSystem
Definition of various time systems.
CommonTime beginFit
Time at beginning of fit interval.
@ L1
GPS L1, Galileo E1, SBAS L1, QZSS L1, BeiDou L1.
gnsstk::PackedNavBitsPtr msg30CNAVWR
double beta[4]
beta terms of Klobuchar model, using semi-circles.
unsigned addDataEphemerisTest()
Test addData with ephemeris selected only.
#define TUDEF(CLASS, METHOD)
bool process30(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
gnsstk::PackedNavBitsPtr msg30CNAVGPSL2
@ UTC
Coordinated Universal Time (e.g., from NTP)
double i0
Inclination (rad)
gnsstk::CommonTime msg35CNAVQZSSL5ct
gnsstk::PackedNavBitsPtr msg11CNAVWR
std::ostream & operator<<(std::ostream &s, gnsstk::StringUtils::FFLead v)
double Cic
Cosine inclination (rad)
@ TimeOffset
Message containing information about time system offsets.
gnsstk::CommonTime msg31CNAVQZSSL5ct
gnsstk::SatID ephCNAVGPSL2sid
double Crc
Cosine radius (m)
double iscL5I5
Intersignal corrections for L5 in-phase.
@ L2CM
Modernized GPS L2 civil M code.
Class containing data elements unique to GPS CNav ionospheric data.
unsigned processAlmOrbTest()
Class containing data elements unique to GPS CNav midi almanac.
gnsstk::CommonTime msg30CNAVGPSL2ct
gnsstk::PackedNavBitsPtr msg32CNAVQZSSL5
double af0
SV clock error (sec)
uint8_t uraNED1
non-elevation dependent URA from clock message.
unsigned processEphTest()
double iscL5Q5
Intersignal corrections for L5 quadrature.
@ Ephemeris
Precision orbits for the transmitting SV.
gnsstk::CommonTime msg30CNAVWRct
double alpha[4]
alpha terms of Klobuchar model, using semi-circles.
Class containing data elements unique to GPS CNav reduced almanac.
#define TUASSERTFE(EXP, GOT)
bool alertClk
Alert flag from the clock message.
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
unsigned addDataAlmanacTest()
Test addData with almanac selected only.
double a0
Bias coefficient of source time scale.
Class containing data elements unique to GPS CNAV ISC data.
PNBGPSCNavDataFactory_T()
gnsstk::PackedNavBitsPtr msg31CNAVQZSSL5
bool process33(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
bool process31(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
SVHealth health
SV health status.
double iscL2C
Intersignal corrections for L2C.
gnsstk::ObsID oidCNAVGPSL2
double iscL1CA
Intersignal corrections for L1 C/A.
uint32_t pre
The preamble from the start of the subframe.
bool process12(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
int8_t uraNED0
non-elevation dependent URA from clock message.
double OMEGA0
Longitude of ascending node at weekly epoch (rad)
unsigned processRedAlmOrbTest()
double dOMEGAdot
Rate of right ascension relative to -2.6e-9*pi.
uint32_t pre
The preamble from the start of the subframe.
CommonTime refTime
Reference time for computation.
gnsstk::CommonTime msg10CNAVWRct
gnsstk::PackedNavBitsPtr msg12CNAVQZSSL5
double af1
SV clock drift (sec/sec)
gnsstk::PackedNavBitsPtr msg10CNAVWR
@ Almanac
Low-precision orbits for other than the transmitting SV.
double tot
Time data reference time of week (storage only).
double toa
Convenience storage of unqualified toa.
double dn
Correction to mean motion (rad/sec)
gnsstk::CommonTime msg37CNAVQZSSL5ct
@ L5
GPS L5, Galileo E5a, SBAS L5, QZSS L5, BeiDou B2a, NavIC L5.
CommonTime top
Time of prediction.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40