mirror of https://github.com/ArduPilot/ardupilot
AP_Math: fix circulary inclusion error
This commit is contained in:
parent
d47e9c8514
commit
f6941beeb9
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include "definitions.h"
|
||||
#include "edc.h"
|
||||
#include "location.h"
|
||||
#include "matrix3.h"
|
||||
#include "polygon.h"
|
||||
#include "quaternion.h"
|
||||
|
@ -18,6 +17,7 @@
|
|||
#include "vector2.h"
|
||||
#include "vector3.h"
|
||||
#include "spline5.h"
|
||||
#include "location.h"
|
||||
|
||||
// define AP_Param types AP_Vector3f and Ap_Matrix3f
|
||||
AP_PARAMDEFV(Vector3f, Vector3f, AP_PARAM_VECTOR3F);
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
#include <stdlib.h>
|
||||
#include "AP_Math.h"
|
||||
#include "location.h"
|
||||
#include "AP_Common/Location.h"
|
||||
|
||||
// return horizontal distance between two positions in cm
|
||||
float get_horizontal_distance_cm(const Vector3f &origin, const Vector3f &destination)
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include "vector2.h"
|
||||
#include "vector3.h"
|
||||
#include <AP_Common/Location.h>
|
||||
|
||||
// scaling factor from 1e-7 degrees to meters at equator
|
||||
// == 1.0e-7 * DEG_TO_RAD * RADIUS_OF_EARTH
|
||||
|
|
Loading…
Reference in New Issue