Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions doris_core/constants.hh
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,17 @@ const int16 ORB_PRM_VEL = 31; // POSIVELO [MA]


// ====== ELLIPSOID CLASS ======
// ______flatting is different: grs80: 298,25722101
// ______flatting is different: wgs84: 298,25723563
const double WGS84_A = 6378137.000; // semimajor axis wgs84
const double WGS84_B = 6356752.3141; // semiminor axis wgs84
// ______flatting is different: grs80: 1/298.257222101
// ______flatting is different: wgs84: 1/298.257223563
const double WGS84_A = 6378137.000; // semimajor axis wgs84
const double WGS84_B = 6356752.3142; // semiminor axis wgs84
const double WGS84_E2 = 0.006694379990141;
const double WGS84_E2B = 0.006739496742276;

//const double GRS80_A = 6378137.000; // semimajor axis grs80
//const double GRS80_B = 6356752.3141; // semiminor axis grs80
//const double GRS80_E2 = 0.00669438002290;
//const double GRS80_E2B = 0.00673949677548;


// ____ used in matric.cc: convert_type ____ [GJ] && [MA] 2009
Expand Down Expand Up @@ -447,10 +453,8 @@ class input_ell // ellips a,b
input_ell()
{a = WGS84_A;
b = WGS84_B;
e2 = 0.00669438003551279091;
e2b = 0.00673949678826153145;
//set_ecc1st_sqr();// compute e2
//set_ecc2nd_sqr();// compute e2b
e2 = WGS84_E2;
e2b = WGS84_E2B;
set_name("WGS84");
}
// ______ constructor ellips(a,b) ______
Expand Down