Go to the documentation of this file.
44 #ifndef GNSSTK_ENGNAV_HPP
45 #define GNSSTK_ENGNAV_HPP
48 #include <sys/types.h>
101 bool knownUpright=
true);
115 static uint32_t
fixParity(uint32_t sfword,
118 bool knownUpright =
true);
124 static bool checkParity(
const uint32_t input[10],
bool knownUpright=
true);
125 static bool checkParity(
const std::vector<uint32_t>& v,
bool knownUpright=
true);
134 static inline uint32_t
getd30(uint32_t sfword)
136 return (sfword & 0x01);
140 static inline uint32_t
getd29(uint32_t sfword)
142 return ((sfword & 0x02) >> 1);
149 word2 &= 0x0001FFFFL;
154 static inline unsigned long getTOW(uint32_t word2)
159 return (word2 >> 13);
166 word2 &= 0x00000007L;
245 short incompleteGPSWeek,
289 static bool sv2page(
short svpgid,
short& subframe,
short& page)
303 static bool sfpage2svid(
short subframe,
short page,
short& svpgid)
317 short& subframe,
short& page)
324 static void dump(std::ostream& s = std::cout);
static bool convert10bit(int gpsWeek, double *out) noexcept
static unsigned long getTOW(uint32_t word2)
Get the TOW count from the provided HOW.
static uint32_t getd29(uint32_t sfword)
Get bit 29 from the given subframe word.
static bool subframeParity(const long input[10])
This is the old routine only left around for compatibility.
EngNav() noexcept
default constructor
static bool sv2page(short svpgid, short &subframe, short &page) noexcept
static bool convert8bit(int gpsWeek, double *out) noexcept
static short convertXBit(short fullGPSWeek, short incompleteGPSWeek, BitConvertType type)
static bool zcount2page(unsigned long zcount, short &subframe, short &page) noexcept
static short getSubframePattern(const long input[10]) noexcept
static void dump(std::ostream &s=std::cout)
static unsigned long getHOWTime(uint32_t word2)
Get the HOW time from the provided HOW.
static uint32_t fixParity(uint32_t sfword, uint32_t psfword, bool nib, bool knownUpright=true)
static bool sfpage2svid(short subframe, short page, short &svpgid) noexcept
static bool subframeConvert(const long input[10], int gpsWeek, double output[60]) noexcept
static short getSFID(uint32_t word2)
Get the subframe ID from the provided HOW.
static uint32_t computeParity(uint32_t sfword, uint32_t psfword, bool knownUpright=true)
static bool checkParity(const uint32_t input[10], bool knownUpright=true)
BitConvertType
This enumeration is used by the convertXBit() method.
static bool getNMCTValidity(const uint32_t sf2[10], unsigned howWeek, uint32_t &aodo, CommonTime &tnmct, CommonTime &toe, CommonTime &tot)
static void convertQuant(const uint32_t input[10], double output[60], const DecodeQuant &dq) noexcept
static uint32_t getd30(uint32_t sfword)
static bool getNMCTValidity(const uint32_t sf2[10], unsigned howWeek, NMCTMeta &meta)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39