Ephemeris calculations


Classes

class  PreciseRange
 class PreciseRange. More...
class  EngEphemeris
 Ephemeris information for a single satellite. More...
class  AlmOrbit
 Encapsulation of almanac SV orbital parameters (page 5, subframes 1-24). More...
class  EngAlmanac
 Almanac information for the GPS constellation. More...
class  EngEphemeris
 Ephemeris information for a single satellite. More...
class  EngNav
 Base class for ICD-GPS-200 navigation messages. More...
class  CorrectedEphemerisRange
 class CorrectedEphemerisRange. More...
class  MoonPosition
 This class computes the approximate position of the Moon at the given epoch in the ECEF system. More...
class  SunPosition
 This class computes the approximate position of the Sun at the given epoch in the ECEF system. More...

Typedefs

typedef std::map< SatID, AlmOrbit > gpstk::AlmOrbits
 Map from SatID to AlmOrbit.

Functions

double gpstk::PreciseRelativityCorrection (const Position &R, const Position &V)
 Compute relativity correction (meters) from the satellite position and velocity.
std::ostream & gpstk::operator<< (std::ostream &s, const AlmOrbit &ao)
const double gpstk::AU_CONST (1.49597870e11)
 Astronomical Unit value (AU), in meters.
const double gpstk::MeanEarthMoonBary (3.12e-5)
 Mean Earth-Moon barycenter (EMB) distance (AU).
const double gpstk::MU_SUN (332946.0)
 Ratio of mass Sun to Earth.
const double gpstk::MU_MOON (0.01230002)
 Ratio of mass Moon to Earth.
const double gpstk::EarthGrav (9.80665)
 Earth gravity acceleration on surface (m/s^2).
const double gpstk::D2R (0.0174532925199432957692369)
 Degrees to radians.
const double gpstk::DAS2R (4.848136811095359935899141e-6)
 Arcseconds to radians.
const double gpstk::DS2R (7.272205216643039903848712e-5)
 Seconds of time to radians.
const double gpstk::B1950 (1949.9997904423)
 Julian epoch of B1950.
const double gpstk::ERADAU (4.2635212653763e-5)
 Earth equatorial radius in AU ( 6378.137 km / 149597870 km).
Triple gpstk::CIS2CTS (const Triple posCIS, const DayTime &t)
 Function to change from CIS to CTS(ECEF) coordinate system (coordinates in meters).
double gpstk::UTC2SID (const DayTime &t)
 Function to convert from UTC to sidereal time.
std::ostream & gpstk::operator<< (std::ostream &s, const EngAlmanac &alm)
double gpstk::RelativityCorrection (const Xvt &svPosVel)
 Compute relativity correction (seconds) from the satellite position and velocity.
short gpstk::AlmOrbit::getPRN () const
double gpstk::AlmOrbit::getecc () const
double gpstk::AlmOrbit::geti_offset () const
double gpstk::AlmOrbit::getOMEGAdot () const
double gpstk::AlmOrbit::getAhalf () const
double gpstk::AlmOrbit::getOMEGA0 () const
double gpstk::AlmOrbit::getw () const
double gpstk::AlmOrbit::getM0 () const
double gpstk::AlmOrbit::getAF0 () const
double gpstk::AlmOrbit::getAF1 () const
long gpstk::AlmOrbit::getToaSOW () const
long gpstk::AlmOrbit::getxmit_time () const
short gpstk::AlmOrbit::getToaWeek () const

Variables

const long gpstk::MAX_PRN = 32
 The maximum number of active satellites in the GPS constellation.


Typedef Documentation

typedef std::map<SatID, AlmOrbit> AlmOrbits
 

Map from SatID to AlmOrbit.

Definition at line 120 of file AlmOrbit.hpp.

Referenced by GPSAlmanacStore::addAlmanac(), and GPSAlmanacStore::findAlmanacs().


Function Documentation

const double AU_CONST 1.  49597870e11  ) 
 

Astronomical Unit value (AU), in meters.

const double B1950 1949.  9997904423  ) 
 

Julian epoch of B1950.

Referenced by MoonPosition::getPositionCIS().

Triple CIS2CTS const Triple  posCIS,
const DayTime &  t
 

Function to change from CIS to CTS(ECEF) coordinate system (coordinates in meters).

Parameters:
posCis Coordinates in CIS system (in meters).
t Epoch
Returns:
Triple in CTS(ECEF) coordinate system.

Definition at line 44 of file AstronomicalFunctions.cpp.

References gpstk::cos(), gpstk::sin(), TWO_PI, and gpstk::UTC2SID().

Referenced by SunPosition::getPosition(), and MoonPosition::getPosition().

const double D2R 0.  0174532925199432957692369  ) 
 

Degrees to radians.

Referenced by MoonPosition::getPositionCIS().

const double DAS2R 4.848136811095359935899141e-  6  ) 
 

Arcseconds to radians.

Referenced by MoonPosition::getPositionCIS().

const double DS2R 7.272205216643039903848712e-  5  ) 
 

Seconds of time to radians.

Referenced by MoonPosition::getPositionCIS().

const double EarthGrav 9.  80665  ) 
 

Earth gravity acceleration on surface (m/s^2).

const double ERADAU 4.2635212653763e-  5  ) 
 

Earth equatorial radius in AU ( 6378.137 km / 149597870 km).

Referenced by MoonPosition::getPositionCIS().

double getAF0  )  const [inline, inherited]
 

Definition at line 132 of file AlmOrbit.hpp.

double getAF1  )  const [inline, inherited]
 

Definition at line 133 of file AlmOrbit.hpp.

double getAhalf  )  const [inline, inherited]
 

Definition at line 128 of file AlmOrbit.hpp.

double getecc  )  const [inline, inherited]
 

Definition at line 125 of file AlmOrbit.hpp.

double geti_offset  )  const [inline, inherited]
 

Definition at line 126 of file AlmOrbit.hpp.

double getM0  )  const [inline, inherited]
 

Definition at line 131 of file AlmOrbit.hpp.

double getOMEGA0  )  const [inline, inherited]
 

Definition at line 129 of file AlmOrbit.hpp.

double getOMEGAdot  )  const [inline, inherited]
 

Definition at line 127 of file AlmOrbit.hpp.

short getPRN  )  const [inline, inherited]
 

Definition at line 124 of file AlmOrbit.hpp.

long getToaSOW  )  const [inline, inherited]
 

Definition at line 134 of file AlmOrbit.hpp.

short getToaWeek  )  const [inline, inherited]
 

Definition at line 136 of file AlmOrbit.hpp.

double getw  )  const [inline, inherited]
 

Definition at line 130 of file AlmOrbit.hpp.

long getxmit_time  )  const [inline, inherited]
 

Definition at line 135 of file AlmOrbit.hpp.

const double MeanEarthMoonBary 3.12e-  5  ) 
 

Mean Earth-Moon barycenter (EMB) distance (AU).

Referenced by SunPosition::getPositionCIS().

const double MU_MOON 0.  01230002  ) 
 

Ratio of mass Moon to Earth.

Referenced by SolidTides::getSolidTide().

const double MU_SUN 332946.  0  ) 
 

Ratio of mass Sun to Earth.

Referenced by SolidTides::getSolidTide().

std::ostream & operator<< std::ostream &  s,
const EngAlmanac alm
 

Definition at line 534 of file EngAlmanac.cpp.

References EngAlmanac::dump().

std::ostream & operator<< std::ostream &  s,
const AlmOrbit &  ao
 

Definition at line 285 of file AlmOrbit.cpp.

References DayTime::dump().

double PreciseRelativityCorrection const Position &  R,
const Position &  V
 

Compute relativity correction (meters) from the satellite position and velocity.

Definition at line 181 of file PreciseRange.cpp.

Referenced by PreciseRange::ComputeAtReceiveTime().

double RelativityCorrection const Xvt svPosVel  ) 
 

Compute relativity correction (seconds) from the satellite position and velocity.

Definition at line 222 of file EphemerisRange.cpp.

References Xvt::v, and Xvt::x.

double UTC2SID const DayTime &  t  ) 
 

Function to convert from UTC to sidereal time.

Parameters:
t Epoch
Returns:
sidereal time in hours.

Definition at line 70 of file AstronomicalFunctions.cpp.

Referenced by gpstk::CIS2CTS().


Variable Documentation

const long MAX_PRN = 32
 

The maximum number of active satellites in the GPS constellation.

Definition at line 61 of file gps_constants.hpp.


Generated on Tue Jan 6 03:31:45 2009 for GPS ToolKit Software Library by  doxygen 1.3.9.1