COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
Collaboration diagram for Coordinate conversion constants:

Macros

#define CLIGHT   299792458.
 Speed of light. More...
 
#define SIGMA   5.67e-8
 SI Stefan-Boltzmann constant. More...
 
#define SOL   (86400.*2.99792458e8)
 SI Gravitational constant. More...
 
#define RSUNM   static_cast<double>(6.955e8)
 SI Radius of Sun. More...
 
#define RMOONM   static_cast<double>(1738000.)
 SI Radius of Moon. More...
 
#define REARTHM   static_cast<double>(6378137.)
 SI Radius of Earth. More...
 
#define REARTHKM   static_cast<double>(6378.137)
 Radius of Earth in Km. More...
 
#define FLATTENING   (1./298.257223563)
 Flattening of Earth. More...
 
#define FRATIO   (1.-FLATTENING)
 
#define FRATIO2   (FRATIO*FRATIO)
 
#define AU   static_cast<double>(1.49597870691e11)
 SI Astronomical Unit. More...
 
#define MSUN   1.9891e30
 SI Mass of Sun. More...
 
#define MEARTH   5.9742e24
 SI Mass of Earth. More...
 
#define MMOON   7.3477e22
 SI Mass of Moon. More...
 
#define MJUPITER   1.8966e27
 SI Mass of Jupiter. More...
 
#define GM   static_cast<double>((3.986004415e14))
 SI Mass * Gravitational Constant for Earth. More...
 
#define GMOON   static_cast<double>((4.9028029535968e+12))
 SI Mass * Gravitational Constant for Moon. More...
 
#define GSUN   static_cast<double>((1.327122e20))
 SI Mass * Gravitational Constant for Sun. More...
 
#define GJUPITER   static_cast<double>((1.266865349218008e17))
 SI Mass * Gravitational Constant for Jupiter. More...
 
#define LAT_HIGP   RADOF(21.297440)
 Latitude of HIGP, in radians. More...
 
#define LON_HIGP   RADOF(157.81630)
 Longitude of HIGP, in radians. More...
 
#define ALT_HIGP   33.
 Altitude of HIGP, in meters. More...
 
#define GEOC_HONOLULU   {{-5588871.,-2278876.,2353191.}}
 Geocentric location of Honolulu. More...
 
#define SGP4_CK2   5.413080E-4
 
#define SGP4_CK4   0.62098875E-6
 
#define SGP4_E6A   1E-6
 
#define SGP4_QOMS2T   1.88027916E-9
 
#define SGP4_S   1.01222928
 
#define SGP4_TOTHRD   2./3.
 
#define SGP4_XJ3   -0.253881E-5
 
#define SGP4_XKE   0.743669161E-1
 
#define SGP4_XKMPER   6378.135
 
#define SGP4_XMNPDA   1440.0
 
#define SGP4_AE   1.
 
#define JPL_MERCURY   1
 
#define JPL_VENUS   2
 
#define JPL_EARTH   3
 
#define JPL_MARS   4
 
#define JPL_JUPITER   5
 
#define JPL_SATURN   6
 
#define JPL_URANUS   7
 
#define JPL_NEPTUNE   8
 
#define JPL_PLUTO   9
 
#define JPL_MOON   10
 
#define JPL_SUN   11
 
#define JPL_SUN_BARY   12
 
#define JPL_EARTH_BARY   13
 
#define JPL_NUTATIONS   14
 
#define MAXTLE   5000
 

Detailed Description

Macro Definition Documentation

#define CLIGHT   299792458.

Speed of light.

#define SIGMA   5.67e-8

SI Stefan-Boltzmann constant.

#define SOL   (86400.*2.99792458e8)

SI Gravitational constant.

#define RSUNM   static_cast<double>(6.955e8)

SI Radius of Sun.

#define RMOONM   static_cast<double>(1738000.)

SI Radius of Moon.

#define REARTHM   static_cast<double>(6378137.)

SI Radius of Earth.

#define REARTHKM   static_cast<double>(6378.137)

Radius of Earth in Km.

#define FLATTENING   (1./298.257223563)

Flattening of Earth.

#define FRATIO   (1.-FLATTENING)
#define FRATIO2   (FRATIO*FRATIO)
#define AU   static_cast<double>(1.49597870691e11)

SI Astronomical Unit.

#define MSUN   1.9891e30

SI Mass of Sun.

#define MEARTH   5.9742e24

SI Mass of Earth.

#define MMOON   7.3477e22

SI Mass of Moon.

#define MJUPITER   1.8966e27

SI Mass of Jupiter.

#define GM   static_cast<double>((3.986004415e14))

SI Mass * Gravitational Constant for Earth.

#define GMOON   static_cast<double>((4.9028029535968e+12))

SI Mass * Gravitational Constant for Moon.

#define GSUN   static_cast<double>((1.327122e20))

SI Mass * Gravitational Constant for Sun.

#define GJUPITER   static_cast<double>((1.266865349218008e17))

SI Mass * Gravitational Constant for Jupiter.

#define LAT_HIGP   RADOF(21.297440)

Latitude of HIGP, in radians.

#define LON_HIGP   RADOF(157.81630)

Longitude of HIGP, in radians.

#define ALT_HIGP   33.

Altitude of HIGP, in meters.

#define GEOC_HONOLULU   {{-5588871.,-2278876.,2353191.}}

Geocentric location of Honolulu.

#define SGP4_CK2   5.413080E-4
#define SGP4_CK4   0.62098875E-6
#define SGP4_E6A   1E-6
#define SGP4_QOMS2T   1.88027916E-9
#define SGP4_S   1.01222928
#define SGP4_TOTHRD   2./3.
#define SGP4_XJ3   -0.253881E-5
#define SGP4_XKE   0.743669161E-1
#define SGP4_XKMPER   6378.135
#define SGP4_XMNPDA   1440.0
#define SGP4_AE   1.
#define JPL_MERCURY   1
#define JPL_VENUS   2
#define JPL_EARTH   3
#define JPL_MARS   4
#define JPL_JUPITER   5
#define JPL_SATURN   6
#define JPL_URANUS   7
#define JPL_NEPTUNE   8
#define JPL_PLUTO   9
#define JPL_MOON   10
#define JPL_SUN   11
#define JPL_SUN_BARY   12
#define JPL_EARTH_BARY   13
#define JPL_NUTATIONS   14
#define MAXTLE   5000