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