Classes | Macros | Functions | Variables
EngEphemeris_T.cpp File Reference
#include "EngEphemeris.hpp"
#include "TestUtil.hpp"
#include "GPSWeekZcount.hpp"
#include <iostream>
#include <sstream>
Include dependency graph for EngEphemeris_T.cpp:

Go to the source code of this file.

Classes

class  EngEphemeris_T
 

Macros

#define LDEXP(x, y)   std::ldexp(x,y)
 

Functions

int main ()
 

Variables

const uint32_t ephEOW []
 
const double ephEOWacc = 2.4
 
const double ephEOWaf0 = LDEXP(double( int32_t(0xfffff91d)), -31)
 
const double ephEOWaf1 = LDEXP(double( int16_t(0xffed)), -43)
 
const double ephEOWaf2 = 0.
 
const double ephEOWAhalf = LDEXP(double(uint32_t(0xa10dcc28)), -19)
 
const double ephEOWCic = LDEXP(double( int16_t(0xffae)), -29)
 
const double ephEOWCis = LDEXP(double( int16_t(0x0005)), -29)
 
const short ephEOWcodeflgs = 1
 
const double ephEOWCrc = LDEXP(double( int16_t(0x22b4)), -5)
 
const double ephEOWCrs = LDEXP(double( int16_t(0xfde4)), -5)
 
const double ephEOWCuc = LDEXP(double( int16_t(0xfe17)), -29)
 
const double ephEOWCus = LDEXP(double( int16_t(0x0b0e)), -29)
 
const double ephEOWdn = LDEXP(double( int16_t(0x35bb)), -43) * PI
 
const double ephEOWecc = LDEXP(double(uint32_t(0x04473adb)), -33)
 
const double ephEOWfitint = 0
 
const short ephEOWhealth = 0
 
const long ephEOWhowSec1 = 604206
 
const long ephEOWhowSec2 = 604212
 
const long ephEOWhowSec3 = 604218
 
const CommonTime ephEOWhowTime1 = GPSWeekZcount(ephEOWwk, 402804)
 
const CommonTime ephEOWhowTime2 = GPSWeekZcount(ephEOWwk, 402808)
 
const CommonTime ephEOWhowTime3 = GPSWeekZcount(ephEOWwk, 402812)
 
const double ephEOWi0 = LDEXP(double( int32_t(0x2747e88f)), -31) * PI
 
const double ephEOWidot = LDEXP(double( int16_t(0xfdc6)), -43) * PI
 
const double ephEOWiodc = 0x03d
 
const double ephEOWiode = 61.
 
const short ephEOWl2pData = 0
 
const double ephEOWM0 = LDEXP(double( int32_t(0x2dbbccf8)), -31) * PI
 
const double ephEOWOMEGA0 = LDEXP(double( int32_t(0x3873d1d1)), -31) * PI
 
const double ephEOWOMEGAdot = LDEXP(double( int32_t(0xffffa3c7)), -43) * PI
 
const unsigned ephEOWprn = 14
 
const double ephEOWTgd = LDEXP(double( int8_t(0xec)), -31)
 
const CommonTime ephEOWtoc = GPSWeekZcount(ephEOWwk, ephEOWtocZ)
 
const double ephEOWtocSec = 597600
 
const long ephEOWtocZ = 398400
 
const double ephEOWToe = 0.
 
const CommonTime ephEOWtoe = GPSWeekSecond(ephEOWToeWk, ephEOWToe)
 
const unsigned ephEOWToeWk = 1887
 
const double ephEOWw = LDEXP(double( int32_t(0xb078a8d5)), -31) * PI
 
const unsigned ephEOWwk = 1886
 
const CommonTime ephEOWxmitTime1 = ephEOWhowTime1 - 6
 
const CommonTime ephEOWxmitTime2 = ephEOWhowTime2 - 6
 
const CommonTime ephEOWxmitTime3 = ephEOWhowTime3 - 6
 
const double ephEOWxmitTimeSec1 = GPSWeekSecond(ephEOWxmitTime1).sow
 

Macro Definition Documentation

◆ LDEXP

#define LDEXP (   x,
  y 
)    std::ldexp(x,y)

Definition at line 49 of file EngEphemeris_T.cpp.

Function Documentation

◆ main()

int main ( )

Definition at line 987 of file EngEphemeris_T.cpp.

Variable Documentation

◆ ephEOW

const uint32_t ephEOW[]
Initial value:
=
{ 583228942, 824945128, 904134685, 184026330, 459310087,
16899638, 845363969, 0x0f647980, 4193148, 1073290676,
583228942, 824953464, 260012308, 225364840, 787693093,
1065730353, 298759921, 46377054, 57870868, 8172,
583228942, 824962032, 1072401983, 485782594, 84477,
301605863, 145566781, 506082625, 1072230894, 259901040 }

Ephemeris subframe words at the end of a week. Useful for a week-rollover test of toe and toc as well as other things. Sorry about the decimal, it came that way out of HDF5.

Note
this data has been modified so that toe != toc, to facilitate verifying that the appropriate quantity is used where appropriate.

Definition at line 59 of file EngEphemeris_T.cpp.

◆ ephEOWacc

const double ephEOWacc = 2.4

Definition at line 120 of file EngEphemeris_T.cpp.

◆ ephEOWaf0

const double ephEOWaf0 = LDEXP(double( int32_t(0xfffff91d)), -31)

Definition at line 93 of file EngEphemeris_T.cpp.

◆ ephEOWaf1

const double ephEOWaf1 = LDEXP(double( int16_t(0xffed)), -43)

Definition at line 94 of file EngEphemeris_T.cpp.

◆ ephEOWaf2

const double ephEOWaf2 = 0.

Definition at line 95 of file EngEphemeris_T.cpp.

◆ ephEOWAhalf

const double ephEOWAhalf = LDEXP(double(uint32_t(0xa10dcc28)), -19)

Definition at line 103 of file EngEphemeris_T.cpp.

◆ ephEOWCic

const double ephEOWCic = LDEXP(double( int16_t(0xffae)), -29)

Definition at line 106 of file EngEphemeris_T.cpp.

◆ ephEOWCis

const double ephEOWCis = LDEXP(double( int16_t(0x0005)), -29)

Definition at line 108 of file EngEphemeris_T.cpp.

◆ ephEOWcodeflgs

const short ephEOWcodeflgs = 1

Definition at line 115 of file EngEphemeris_T.cpp.

◆ ephEOWCrc

const double ephEOWCrc = LDEXP(double( int16_t(0x22b4)), -5)

Definition at line 110 of file EngEphemeris_T.cpp.

◆ ephEOWCrs

const double ephEOWCrs = LDEXP(double( int16_t(0xfde4)), -5)

Definition at line 97 of file EngEphemeris_T.cpp.

◆ ephEOWCuc

const double ephEOWCuc = LDEXP(double( int16_t(0xfe17)), -29)

Definition at line 100 of file EngEphemeris_T.cpp.

◆ ephEOWCus

const double ephEOWCus = LDEXP(double( int16_t(0x0b0e)), -29)

Definition at line 102 of file EngEphemeris_T.cpp.

◆ ephEOWdn

const double ephEOWdn = LDEXP(double( int16_t(0x35bb)), -43) * PI

Definition at line 98 of file EngEphemeris_T.cpp.

◆ ephEOWecc

const double ephEOWecc = LDEXP(double(uint32_t(0x04473adb)), -33)

Definition at line 101 of file EngEphemeris_T.cpp.

◆ ephEOWfitint

const double ephEOWfitint = 0

Definition at line 122 of file EngEphemeris_T.cpp.

◆ ephEOWhealth

const short ephEOWhealth = 0

Definition at line 117 of file EngEphemeris_T.cpp.

◆ ephEOWhowSec1

const long ephEOWhowSec1 = 604206

Definition at line 81 of file EngEphemeris_T.cpp.

◆ ephEOWhowSec2

const long ephEOWhowSec2 = 604212

Definition at line 82 of file EngEphemeris_T.cpp.

◆ ephEOWhowSec3

const long ephEOWhowSec3 = 604218

Definition at line 83 of file EngEphemeris_T.cpp.

◆ ephEOWhowTime1

const CommonTime ephEOWhowTime1 = GPSWeekZcount(ephEOWwk, 402804)

Definition at line 78 of file EngEphemeris_T.cpp.

◆ ephEOWhowTime2

const CommonTime ephEOWhowTime2 = GPSWeekZcount(ephEOWwk, 402808)

Definition at line 79 of file EngEphemeris_T.cpp.

◆ ephEOWhowTime3

const CommonTime ephEOWhowTime3 = GPSWeekZcount(ephEOWwk, 402812)

Definition at line 80 of file EngEphemeris_T.cpp.

◆ ephEOWi0

const double ephEOWi0 = LDEXP(double( int32_t(0x2747e88f)), -31) * PI

Definition at line 109 of file EngEphemeris_T.cpp.

◆ ephEOWidot

const double ephEOWidot = LDEXP(double( int16_t(0xfdc6)), -43) * PI

Definition at line 113 of file EngEphemeris_T.cpp.

◆ ephEOWiodc

const double ephEOWiodc = 0x03d

Definition at line 118 of file EngEphemeris_T.cpp.

◆ ephEOWiode

const double ephEOWiode = 61.

Definition at line 96 of file EngEphemeris_T.cpp.

◆ ephEOWl2pData

const short ephEOWl2pData = 0

Definition at line 116 of file EngEphemeris_T.cpp.

◆ ephEOWM0

const double ephEOWM0 = LDEXP(double( int32_t(0x2dbbccf8)), -31) * PI

Definition at line 99 of file EngEphemeris_T.cpp.

◆ ephEOWOMEGA0

const double ephEOWOMEGA0 = LDEXP(double( int32_t(0x3873d1d1)), -31) * PI

Definition at line 107 of file EngEphemeris_T.cpp.

◆ ephEOWOMEGAdot

const double ephEOWOMEGAdot = LDEXP(double( int32_t(0xffffa3c7)), -43) * PI

Definition at line 112 of file EngEphemeris_T.cpp.

◆ ephEOWprn

const unsigned ephEOWprn = 14

Definition at line 76 of file EngEphemeris_T.cpp.

◆ ephEOWTgd

const double ephEOWTgd = LDEXP(double( int8_t(0xec)), -31)

Definition at line 114 of file EngEphemeris_T.cpp.

◆ ephEOWtoc

Definition at line 90 of file EngEphemeris_T.cpp.

◆ ephEOWtocSec

const double ephEOWtocSec = 597600

Definition at line 88 of file EngEphemeris_T.cpp.

◆ ephEOWtocZ

const long ephEOWtocZ = 398400

Definition at line 89 of file EngEphemeris_T.cpp.

◆ ephEOWToe

const double ephEOWToe = 0.

Definition at line 104 of file EngEphemeris_T.cpp.

◆ ephEOWtoe

Definition at line 105 of file EngEphemeris_T.cpp.

◆ ephEOWToeWk

const unsigned ephEOWToeWk = 1887

Definition at line 75 of file EngEphemeris_T.cpp.

◆ ephEOWw

const double ephEOWw = LDEXP(double( int32_t(0xb078a8d5)), -31) * PI

Definition at line 111 of file EngEphemeris_T.cpp.

◆ ephEOWwk

const unsigned ephEOWwk = 1886

Definition at line 74 of file EngEphemeris_T.cpp.

◆ ephEOWxmitTime1

const CommonTime ephEOWxmitTime1 = ephEOWhowTime1 - 6

Definition at line 84 of file EngEphemeris_T.cpp.

◆ ephEOWxmitTime2

const CommonTime ephEOWxmitTime2 = ephEOWhowTime2 - 6

Definition at line 85 of file EngEphemeris_T.cpp.

◆ ephEOWxmitTime3

const CommonTime ephEOWxmitTime3 = ephEOWhowTime3 - 6

Definition at line 86 of file EngEphemeris_T.cpp.

◆ ephEOWxmitTimeSec1

const double ephEOWxmitTimeSec1 = GPSWeekSecond(ephEOWxmitTime1).sow

Definition at line 87 of file EngEphemeris_T.cpp.



gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:42