Browse Source

Define earth radius as double, as our calculations relying on it need double precision.

sbg
Lorenz Meier 11 years ago
parent
commit
91bba668f6
  1. 4
      src/modules/ekf_att_pos_estimator/estimator_utilities.h

4
src/modules/ekf_att_pos_estimator/estimator_utilities.h

@ -8,8 +8,8 @@ @@ -8,8 +8,8 @@
#define rad2deg 57.295780f
#define pi 3.141592657f
#define earthRate 0.000072921f
#define earthRadius 6378145.0f
#define earthRadiusInv 1.5678540e-7f
#define earthRadius 6378145.0
#define earthRadiusInv 1.5678540e-7
class Vector3f
{

Loading…
Cancel
Save