1 #ifndef _POSE_ESTIMATION_GRAVITATIONAL_MODEL_HPP 2 #define _POSE_ESTIMATION_GRAVITATIONAL_MODEL_HPP 10 static const double EQUATORIAL_RADIUS = 6378137.0;
11 static const double ECC = 0.0818191908426;
12 static const double GRAVITY = 9.79766542;
13 static const double GRAVITY_SI = 9.80665;
14 static const double GWGS0 = 9.7803267714;
15 static const double GWGS1 = 0.00193185138639;
16 static const double EARTHW = ((2.0*M_PI)/86164.0);
33 static double WGS_84(
double latitude,
double altitude)
38 g = GWGS0*((1+GWGS1*pow(sin(latitude),2))/sqrt(1-pow(ECC,2)*pow(sin(latitude),2)));
41 g = g*pow(EQUATORIAL_RADIUS/(EQUATORIAL_RADIUS+altitude), 2);
Definition: GravitationalModel.hpp:19
static double WGS_84(double latitude, double altitude)
This computes the theoretical gravity value according to the WGS-84 ellipsoid earth model...
Definition: GravitationalModel.hpp:33
Definition: GeographicProjection.hpp:9