Go to the documentation of this file.
71 for (
const auto& i : nmts)
85 unsigned foreignTest();
89 unsigned filterTests();
91 unsigned addDataValidityTest();
92 unsigned processAlmTest();
93 unsigned processEphTest();
94 unsigned processSF5Pg7Test();
95 unsigned processSF5Pg8Test();
96 unsigned processSF5Pg9Test();
97 unsigned processSF5Pg10Test();
98 unsigned processSF5Pg24Test();
99 unsigned isAlmDefaultTest();
115 TUDEF(
"PNBBDSD1NavDataFactory",
"addData");
134 TUDEF(
"PNBBDSD1NavDataFactory",
"addData("+
asString(nmts)+
")");
233 TUDEF(
"PNBBDSD1NavDataFactory",
"addData");
242 TUDEF(
"PNBBDSD1NavDataFactory",
"processAlm");
267 for (
const auto& i : navOut)
324 TUDEF(
"PNBBDSD1NavDataFactory",
"processEph");
342 for (
const auto& i : navOut)
400 for (
const auto& i : navOut)
467 TUDEF(
"PNBBDSD1NavDataFactory",
"processSF5Pg7");
480 for (
const auto& i : navOut)
491 if ((nmidExp.
sat.
id == 7) || (nmidExp.
sat.
id == 17))
493 else if ((nmidExp.
sat.
id == 15) || (nmidExp.
sat.
id == 18))
495 else if (nmidExp.
sat.
id >= 19)
514 TUDEF(
"PNBBDSD1NavDataFactory",
"processSF5Pg8");
528 uint16_t expHea = 88;
537 for (
const auto& i : navOut)
548 nmidExp.
sat = tmpSat;
619 TUDEF(
"PNBBDSD1NavDataFactory",
"processSF5Pg9");
638 for (
const auto& i : navOut)
667 TUCSM(
"processSF5Pg9");
696 TUDEF(
"PNBBDSD1NavDataFactory",
"processSF5Pg10");
712 for (
const auto& i : navOut)
737 TUCSM(
"processSF5Pg10");
765 TUDEF(
"PNBBDSD1NavDataFactory",
"processSF5Pg24");
775 uint16_t expHea = 88;
781 for (
const auto& i : navOut)
808 TUDEF(
"PNBBDSD1NavDataFactory",
"isAlmDefault");
835 unsigned errorTotal = 0;
849 std::cout <<
"Total Failures for " << __FILE__ <<
": " << errorTotal
uint32_t rev
The rev field from word 1 of the subframe.
unsigned processEphTest()
std::set< NavMessageType > NavMessageTypeSet
Set of message types, used by NavLibrary and NavDataFactory.
@ ISC
Inter-signal corrections.
virtual void setControl(const FactoryControl &ctrl)
double idot
Rate of inclination angle (rad/sec)
Class used to identify/categorize navigation message data.
double deltatLSF
Current or future leap second count (UTC only).
int id
Satellite identifier, e.g. PRN.
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
gnsstk::PackedNavBitsPtr almD1NAVSF4p24B
bool satH1
Autonomous satellite health flag.
uint8_t fraID
The subframe ID (FraID) from word 1 of the subframe.
PNBBDSD1NavDataFactory_T()
gnsstk::PackedNavBitsPtr almD1NAVSF5p24B
#define TUCATCH(STATEMENT)
bool isDefault
True if the source page was all 0s for orbit.
double Cis
Sine inclination (rad)
double A
Semi-major axis (m)
CommonTime xmit3
Transmit time for subframe 3.
bool processSF5Pg8(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
virtual void setTypeFilter(const NavMessageTypeSet &nmts)
double af2
SV clock drift rate (sec/sec**2)
gnsstk::PackedNavBitsPtr almD1NAVSF5p8
gnsstk::PackedNavBitsPtr almD1NAVSF5p12B
double tgd1
Group delay differential on B1I.
TimeSystem src
Source time system.
gnsstk::PackedNavBitsPtr almD1NAVSF5p10
void setInc(const gnsstk::NavMessageTypeSet &nmts)
uint32_t rev3
The rev field from word 1 of subframe 3.
gnsstk::PackedNavBitsPtr ephD1NAVSF1
#define TUASSERTE(TYPE, EXP, GOT)
gnsstk::CommonTime almD1NAVSF5p9ct
gnsstk::PackedNavBitsPtr almD1NAVSF4p1
NavMessageType messageType
gnsstk::PackedNavBitsPtr almD1NAVSF4p10
uint8_t uraIndex
4-bit URA index from subframe 1.
const GNSSTK_EXPORT NavMessageTypeSet allNavMessageTypes
double OMEGAdot
Rate of Rt ascension (rad/sec)
TimeSystem tgt
Target time system.
gnsstk::PackedNavBitsPtr almD1NAVSF4p11B
@ Health
SV health status information message.
double deltai
Inclination in rad relative to 0.3*pi rad.
CommonTime endFit
Time at end of fit interval.
std::list< NavDataPtr > NavDataPtrList
unsigned processAlmTest()
std::string asString(IonexStoreStrategy e)
Convert a IonexStoreStrategy to a whitespace-free string name.
uint8_t fraID
The subframe ID (FraID) from word 1 of the subframe.
double Cuc
Cosine latitude (rad)
gnsstk::PackedNavBitsPtr almD1NAVSF4p9
gnsstk::PackedNavBitsPtr almD1NAVSF5p7
Class containing data elements unique to BeiDou D1 almanac pages.
CommonTime & setTimeSystem(TimeSystem timeSystem)
unsigned isAlmDefaultTest()
uint8_t aodc
Age of data - clock.
double deltatLS
Current or past leap second count (UTC only).
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)
gnsstk::CommonTime ephD1NAVSF1ct
unsigned wnot
Time data reference week number (storage only).
bool isAlmHealth
If true, svHealth is representative, otherwise satH1 is.
CommonTime Toe
Orbit epoch.
double Crs
Sine radius (m)
SVHealth
Identify different types of SV health states.
unsigned processSF5Pg9Test()
NavMessageID signal
Source signal identification for this navigation message data.
gnsstk::CommonTime almD1NAVSF5p10ct
gnsstk::PackedNavBitsPtr almD1NAVSF5p9A0
unsigned wnLSF
Leap second reference week number (UTC only).
bool processSF5Pg7(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
double a1
Drift coefficient of source time scale.
unsigned foreignTest()
Test that BDS doesn't process GLONASS data.
bool processSF5Pg10(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
@ Standard
Legacy Glonass civil signal.
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
gnsstk::PackedNavBitsPtr almD1NAVSF4p12B
CommonTime xmitTime
Time of transmission of the start of the data.
double Adot
Rate of semi-major axis (m/sec)
unsigned dn
Leap second reference day number (UTC only).
double M0
Mean anomaly (rad)
@ NavMsg
Navigation Message data.
static const GNSSTK_EXPORT CommonTime END_OF_TIME
latest representable CommonTime
gnsstk::PackedNavBitsPtr almD1NAVSF5p24B2
gnsstk::PackedNavBitsPtr almD1NAVSF4p24B2
uint32_t sow
Seconds of week from word 1-2 of the subframe.
@ Healthy
Satellite is in a healthy and useable state.
double dndot
Rate of correction to mean motion (rad/sec/sec)
unsigned processSF5Pg24Test()
bool processSF5Pg24(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
double Cus
Sine latitude (rad)
double a2
Drift rate coefficient of source time scale.
gnsstk::PackedNavBitsPtr ephD1NAVSF3
bool processSF5Pg9(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
@ GAL
Galileo system time.
@ Iono
Ionospheric correction data.
double Ahalf
Square Root of semi-major axis (m**.5)
SatID sat
ID of satellite to which the nav data applies.
gnsstk::PackedNavBitsPtr almD1Default3
uint8_t pnum
Almanac page number.
uint32_t sow2
Seconds of week from word 1-2 of subframe 2.
bool validate() const override
CommonTime Toc
Clock epoch.
unsigned processSF5Pg10Test()
gnsstk::PackedNavBitsPtr almD1NAVSF4p8
gnsstk::PackedNavBitsPtr almD1Default2
gnsstk::CommonTime almD1NAVSF5p7ct
TimeSystem
Definition of various time systems.
unsigned filterTests()
addData tests for a variety of filter states
CommonTime beginFit
Time at beginning of fit interval.
unsigned addDataValidityTest()
Test validity checking.
uint8_t fraID
The subframe ID (FraID) from word 1 of the subframe.
string asString(const gnsstk::NavMessageTypeSet &nmts)
gnsstk::PackedNavBitsPtr ephD1NAVSF2
double tgd1
Group delay differential on B1I.
double beta[4]
beta terms of Klobuchar model, using semi-circles.
#define TUDEF(CLASS, METHOD)
gnsstk::PackedNavBitsPtr almD1NAVSF5p11B
uint32_t rev2
The rev field from word 1 of subframe 2.
@ GLO
GLONASS system time (aka UTC(SU))
unsigned filterTest(const gnsstk::NavMessageTypeSet &nmts)
The meat of all the filter state tests.
gnsstk::CommonTime almD1NAVSF5p8ct
@ UTC
Coordinated Universal Time (e.g., from NTP)
uint32_t rev
The rev field from word 1 of the subframe.
double i0
Inclination (rad)
uint32_t pre2
The preamble from the start of subframe 2.
gnsstk::PackedNavBitsPtr almD1NAVSF5p9
bool satH1
Ephemeris health (autonomous satellite health flag).
std::ostream & operator<<(std::ostream &s, gnsstk::StringUtils::FFLead v)
gnsstk::PackedNavBitsPtr almD1NAVSF4p11
gnsstk::PackedNavBitsPtr almD1NAVSF4p8B
double Cic
Cosine inclination (rad)
@ TimeOffset
Message containing information about time system offsets.
uint32_t pre3
The preamble from the start of subframe 3.
uint32_t pre
The preamble from word 1 of the subframe.
double Crc
Cosine radius (m)
gnsstk::PackedNavBitsPtr almD1Default1
uint16_t svHealth
9-bit health from subframes 4.
uint8_t aode
Age of data - ephemeris.
gnsstk::PackedNavBitsPtr almD1NAVSF5p10ZZ
gnsstk::CommonTime ephD1NAVSF3ct
gnsstk::CommonTime almD1NAVSF5p12Bct
double af0
SV clock error (sec)
@ Ephemeris
Precision orbits for the transmitting SV.
double alpha[4]
alpha terms of Klobuchar model, using semi-circles.
uint32_t sow
Seconds of week from word 1-2 of the subframe.
#define TUASSERTFE(EXP, GOT)
gnsstk::PackedNavBitsPtr almD1NAVSF5p7B
gnsstk::PackedNavBitsPtr almD1NAVSF5p8B
gnsstk::CommonTime almD1NAVSF5p24B2ct
gnsstk::PackedNavBitsPtr almD1NAVSF4p7B
double tgd2
Group delay differential on B2I.
gnsstk::PackedNavBitsPtr almD1NAVSF4p7
double a0
Bias coefficient of source time scale.
uint32_t rev
The rev field from word 1 of the subframe.
gnsstk::CommonTime almD1NAVSF5p1ct
double tgd2
Group delay differential on B2I.
uint16_t healthBits
9 bits of health from sf5,pg7/8.
gnsstk::CommonTime ephD1NAVSF2ct
static bool isAlmDefault(const PackedNavBitsPtr &navIn)
SVHealth health
SV health status.
double toa
Convenience storage of unqualified toa.
@ Unhealthy
Satellite is unhealthy and should not be used.
CommonTime xmit2
Transmit time for subframe 2.
uint32_t pre
The preamble from word 1 of the subframe.
double OMEGA0
Longitude of ascending node at weekly epoch (rad)
gnsstk::PackedNavBitsPtr almD1NAVSF5p1
CommonTime effTime
Effectivity time (wnLSF,dn).
gnsstk::PackedNavBitsPtr almD1NAVSF5p11
CommonTime refTime
Reference time for computation.
unsigned processSF5Pg8Test()
unsigned processSF5Pg7Test()
uint32_t pre
The preamble from word 1 of the subframe.
double af1
SV clock drift (sec/sec)
bool processEph(unsigned long sfid, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
@ Almanac
Low-precision orbits for other than the transmitting SV.
double tot
Time data reference time of week (storage only).
double dn
Correction to mean motion (rad/sec)
uint32_t sow
Seconds of week from word 1-2 of the subframe.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40