#include <EngNav.hpp>
Inheritance diagram for EngNav:

This class provides functions for decoding the bits in navigation message, and is the base class for all "engineering units" types.
Definition at line 66 of file EngNav.hpp.
Public Types | |
| enum | BitConvertType { BITS8 = 0, BITS10 = 1 } |
| This enumeration is used by the convertXBit() method. More... | |
Public Member Functions | |
| EngNav () throw () | |
| default constructor | |
| virtual | ~EngNav () |
| destructor | |
Static Public Member Functions | |
| uint32_t | computeParity (uint32_t sfword, uint32_t psfword, bool knownUpright=true) |
| Compute and return the parity of the given subframe word, based on the algorihm defined in Section 20.3.5 of IS-GPS-200D. | |
| uint32_t | fixParity (uint32_t sfword, uint32_t psfword, bool nib) |
| Compute the parity for the given subframe using the prior subframe and a flag to handle the "non-information bits" that appear in certain words of each subframe. | |
| bool | checkParity (const uint32_t input[10], bool knownUpright=true) |
| Perform a parity check on a navigation message subframe. | |
| bool | checkParity (const std::vector< uint32_t > &v, bool knownUpright=true) |
| bool | subframeParity (const long input[10]) |
| This is the OLD GPSTk method, left here for compatibility. | |
| uint32_t | getd30 (uint32_t sfword) |
| Following two used by checkParity Get bit 30 from the given subframe word. | |
| uint32_t | getd29 (uint32_t sfword) |
| Get bit 29 from the given subframe word. | |
| unsigned long | getHOWTime (uint32_t word2) |
| Get the HOW time from the provided HOW. | |
| short | getSFID (uint32_t word2) |
| Get the subframe ID from the provided HOW. | |
| bool | subframeConvert (const long input[10], int gpsWeek, double output[60]) throw () |
| Given 10 words of a navigation message subframe (as defined in ICD-GPS-200), convert to the "appropriate" 60 FIC floating point values. | |
| bool | subframeConvert (const uint32_t input[10], short gpsWeek, double output[60]) throw () |
| Given 10 words of a navigation message subframe (as defined in ICD-GPS-200), convert to the "appropriate" 60 FIC floating point values. | |
| bool | convert8bit (int gpsWeek, double *out) throw () |
Convert the week number in out from 8-bit to full using the full week number gpsWeek. | |
| bool | convert10bit (int gpsWeek, double *out) throw () |
Convert the week number in out from 10-bit to full using the full week number gpsWeek. | |
| short | convertXBit (short fullGPSWeek, short incompleteGPSWeek, BitConvertType type) |
Convert the week number in out from 8 or 10-bit to full using the full week number fullGPSWeek. | |
| short | getSubframePattern (const long input[10]) throw () |
| Given a navigation message subframe, return the pattern number to be used in converting the subframe to engineering units. | |
| short | getSubframePattern (const uint32_t input[10]) throw () |
|
|
This enumeration is used by the convertXBit() method.
Definition at line 70 of file EngNav.hpp. |
|
|
default constructor
Definition at line 336 of file EngNav.cpp. References DecodeQuant::nxtq, and DecodeQuant::outIndex. |
|
|
destructor
Definition at line 80 of file EngNav.hpp. |
|
||||||||||||
|
Definition at line 607 of file EngNav.cpp. References EngNav::computeParity(). |
|
||||||||||||
|
Perform a parity check on a navigation message subframe.
Definition at line 621 of file EngNav.cpp. Referenced by EngNav::subframeParity(). |
|
||||||||||||||||
|
Compute and return the parity of the given subframe word, based on the algorihm defined in Section 20.3.5 of IS-GPS-200D.
Definition at line 523 of file EngNav.cpp. References EngNav::getd29(), and EngNav::getd30(). Referenced by EngNav::checkParity(), and EngNav::fixParity(). |
|
||||||||||||
|
Convert the week number in
Definition at line 448 of file EngNav.cpp. |
|
||||||||||||
|
Convert the week number in
Definition at line 436 of file EngNav.cpp. |
|
||||||||||||||||
|
Convert the week number in
Definition at line 461 of file EngNav.cpp. |
|
||||||||||||||||
|
Compute the parity for the given subframe using the prior subframe and a flag to handle the "non-information bits" that appear in certain words of each subframe.
Definition at line 571 of file EngNav.cpp. References EngNav::computeParity(), EngNav::getd29(), and EngNav::getd30(). |
|
|
Get bit 29 from the given subframe word.
Definition at line 136 of file EngNav.hpp. Referenced by EngNav::computeParity(), and EngNav::fixParity(). |
|
|
Following two used by checkParity Get bit 30 from the given subframe word.
Definition at line 130 of file EngNav.hpp. Referenced by EngNav::computeParity(), and EngNav::fixParity(). |
|
|
Get the HOW time from the provided HOW.
Definition at line 142 of file EngNav.hpp. |
|
|
Get the subframe ID from the provided HOW.
Definition at line 150 of file EngNav.hpp. |
|
|
Definition at line 487 of file EngNav.cpp. |
|
|
Given a navigation message subframe, return the pattern number to be used in converting the subframe to engineering units. The patterns are defined in the following table. The numbers correspond to the ordering of the bit definitions in ICD-GPS-200 Figure 20-1. Subframe # SV_id Pattern # 1 n/a 1 2 n/a 2 3 n/a 3 4 1-24 4 4 25 5 5 57 6 5 58-62 7 5 56 8 5 63 9 5 52-55 10
Definition at line 478 of file EngNav.cpp. Referenced by FICData62::FICData62(). |
|
||||||||||||||||
|
Given 10 words of a navigation message subframe (as defined in ICD-GPS-200), convert to the "appropriate" 60 FIC floating point values.
Definition at line 382 of file EngNav.cpp. References DecodeQuant::nxtq. |
|
||||||||||||||||
|
Given 10 words of a navigation message subframe (as defined in ICD-GPS-200), convert to the "appropriate" 60 FIC floating point values.
Definition at line 370 of file EngNav.cpp. Referenced by EngEphemeris::addIncompleteSF1Thru3(), and FICData62::FICData62(). |
|
|
This is the OLD GPSTk method, left here for compatibility.
Definition at line 599 of file EngNav.cpp. References EngNav::checkParity(). |
1.3.9.1