AC_Avoidance: add missing includes for AP_AHRS

This commit is contained in:
Peter Barker 2019-07-09 20:21:10 +10:00 committed by Peter Barker
parent 0af3ecca70
commit ec0a93ff9c
2 changed files with 4 additions and 0 deletions

View File

@ -14,7 +14,9 @@
*/
#include "AP_OABendyRuler.h"
#include <AC_Fence/AC_Fence.h>
#include <AP_AHRS/AP_AHRS.h>
const int16_t OA_BENDYRULER_BEARING_INC = 5; // check every 5 degrees around vehicle
const float OA_BENDYRULER_LOOKAHEAD_STEP2_RATIO = 1.0f; // step2's lookahead length as a ratio of step1's lookahead length

View File

@ -14,7 +14,9 @@
*/
#include "AP_OADijkstra.h"
#include <AC_Fence/AC_Fence.h>
#include <AP_AHRS/AP_AHRS.h>
#define OA_DIJKSTRA_EXPANDING_ARRAY_ELEMENTS_PER_CHUNK 32 // expanding arrays for inner polygon fence and paths to destination will grow in increments of 20 elements
#define OA_DIJKSTRA_POLYGON_SHORTPATH_NOTSET_IDX 255 // index use to indicate we do not have a tentative short path for a node