Browse Source

AP_Math: remove duplicate RADIUS_OF_EARTH definition

mission-4.1.18
Randy Mackay 10 years ago
parent
commit
6145794da2
  1. 3
      libraries/AP_Math/location.cpp

3
libraries/AP_Math/location.cpp

@ -24,9 +24,6 @@ @@ -24,9 +24,6 @@
#include <stdlib.h>
#include "AP_Math.h"
// radius of earth in meters
#define RADIUS_OF_EARTH 6378100
// scaling factor from 1e-7 degrees to meters at equater
// == 1.0e-7 * DEG_TO_RAD * RADIUS_OF_EARTH
#define LOCATION_SCALING_FACTOR 0.011131884502145034f

Loading…
Cancel
Save