AP_Math: fix circulary inclusion error

This commit is contained in:
Pierre Kancir 2019-03-11 18:15:09 +01:00 committed by Peter Barker
parent d47e9c8514
commit f6941beeb9
3 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)

View File

@ -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