Constants as defined in the GPS-ICD-200D and by all RINEX GNSSs
Definition in file GNSSconstants.hpp.
#include "Exception.hpp"
#include "SatID.hpp"
#include "DeprecatedConsts.hpp"
#include "FreqConsts.hpp"
Go to the source code of this file.
Namespaces | |
gnsstk | |
For Sinex::InputHistory. | |
GNSS Constants | |
Time constants are in TimeConstants.hpp | |
const double | gnsstk::A_REF_GPS = 26559710.0 |
Reference Semi-major axis. From IS-GPS-800 Table 3.5-2 in meters. More... | |
const double | gnsstk::C_MPS = 2.99792458e8 |
m/s, speed of light; this value defined by GPS but applies to GAL and GLO. More... | |
const double | gnsstk::CA_CHIP_FREQ_GLO = OSC_FREQ_GLO / 10.0 |
GLO Chip rate of the C/A code in Hz. More... | |
const double | gnsstk::CA_CHIP_FREQ_GPS = OSC_FREQ_GPS / 10.0 |
Hz, GPS chip rate of the C/A code. More... | |
const double | gnsstk::DEG2RAD = PI / 180.0 |
Multiply degrees by DEG2RAD to get radians. More... | |
static const double | gnsstk::DEG_PER_MAS = 2.77777777777e-7 |
degrees per milliarcsecond (1e-3/3600.) More... | |
static const double | gnsstk::DEG_TO_RAD = 1.7453292519943e-2 |
Conversion Factor from degrees to radians (units: degrees^-1) More... | |
const double | gnsstk::GAMMA_GPS = 1.646944444 |
const double | gnsstk::GAMMA_GPS_12 = (L1_MULT_GPS/L2_MULT_GPS) * (L1_MULT_GPS/L2_MULT_GPS) |
GPS Gamma constants. More... | |
const double | gnsstk::GAMMA_GPS_15 = (L1_MULT_GPS/L5_MULT_GPS) * (L1_MULT_GPS/L5_MULT_GPS) |
short | gnsstk::getLegacyFitInterval (const short iodc, const short fiti) |
bool | gnsstk::isBeiDouGEO (const SatID &sat) |
Return true if the given SatID is BeiDou GEO (expecting D2 nav). More... | |
const double | gnsstk::L1_MULT_GLO = 320.4 |
GLO L1 multiplier. More... | |
const double | gnsstk::L1_MULT_GPS = 154.0 |
GPS L1 frequency in units of oscillator frequency. More... | |
const double | gnsstk::L2_MULT_GLO = 249.2 |
GLO L2 multiplier. More... | |
const double | gnsstk::L2_MULT_GPS = 120.0 |
GPS L2 frequency in units of oscillator frequency. More... | |
const double | gnsstk::L5_MULT_GPS = 115.0 |
GPS L5 frequency in units of oscillator frequency. More... | |
const long | gnsstk::MAX_GEO_BDS_II = 5 |
The last ranging code number for BeiDou GEO phase II satellites. More... | |
const long | gnsstk::MAX_GEO_BDS_III = 63 |
The last ranging code number for BeiDou GEO phase III satellites. More... | |
const long | gnsstk::MAX_MEO_BDS = 58 |
The last ranging code number for BeiDou MEO/IGSO satellites. More... | |
const long | gnsstk::MAX_PRN_COM = 63 |
The maximum number of active satellites in the Compass constellation. More... | |
const int | gnsstk::MAX_PRN_QZS = 206 |
Last assigned PRN in QZSS (all signals) More... | |
const int | gnsstk::MAX_PRN_QZS_LNAV = 202 |
Last assigned PRN in QZSS (LNAV only) More... | |
const long | gnsstk::MIN_GEO_BDS_II = 1 |
The first ranging code number for BeiDou GEO phase II satellites. More... | |
const long | gnsstk::MIN_GEO_BDS_III = 59 |
The first ranging code number for BeiDou GEO phase III satellites. More... | |
const long | gnsstk::MIN_MEO_BDS = 6 |
The first ranging code number for BeiDou MEO/IGSO satellites. More... | |
const int | gnsstk::MIN_PRN_QZS = 193 |
First assigned PRN in QZSS. More... | |
const double | gnsstk::OMEGADOT_REF_GPS = -2.6e-9 * PI |
Omega reference value from Table 30-I converted to radians. More... | |
const double | gnsstk::OSC_FREQ_GLO = 5.11e6 |
GLO Fundamental chip rate in Hz. More... | |
const double | gnsstk::OSC_FREQ_GPS = 10.23e6 |
Hz, GPS Oscillator or chip frequency. More... | |
const double | gnsstk::PI = 3.141592653589793238462643383280 |
GPS value of PI; also specified by GAL. More... | |
static const double | gnsstk::PPB = 1.e-9 |
parts per billion More... | |
const double | gnsstk::PSC_FREQ_GLO = 5.00e6 |
GLO Fundamental oscillator freq in Hz. More... | |
const double | gnsstk::PY_CHIP_FREQ_GLO = OSC_FREQ_GLO |
GLO Chip rate of the P & Y codes in Hz. More... | |
const double | gnsstk::PY_CHIP_FREQ_GPS = OSC_FREQ_GPS |
Hz, GPS chip rate of the P & Y codes. More... | |
const double | gnsstk::RAD2DEG = 180.0 / PI |
Multiply radians by RAD2DEG to get degrees. More... | |
static const double | gnsstk::RAD_PER_MAS = 4.84813681e-9 |
radians per milliarcsecond More... | |
static const double | gnsstk::RAD_TO_DEG = 57.295779513082 |
Conversion Factor from radians to degrees (units: degrees) More... | |
const double | gnsstk::REL_CONST = -4.442807633e-10 |
relativity constant (sec/sqrt(m)) More... | |
const double | gnsstk::RSVCLK_GLO = 4.99999999782e6 |
GLO Base freq w/o relativisitic effects in Hz. More... | |
const double | gnsstk::RSVCLK_GPS = 10.22999999543e6 |
Hz, GPS Base freq w/o relativisitic effects. More... | |
const double | gnsstk::SQRT_PI = 1.772453850905516027298167483341 |
GPS value of PI**0.5. More... | |
const double | gnsstk::SV_ACCURACY_GLO_INDEX [] |
const int | gnsstk::SV_ACCURACY_GLO_INDEX_MAX = 15 |
Constant for the max array index in SV accuracy table. More... | |
const double | gnsstk::TWO_PI = 6.283185307179586476925286766559 |
GPS value of PI*2. More... | |