From ec0a93ff9cbb33f65e16a72eb211ac632abe21fa Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 9 Jul 2019 20:21:10 +1000 Subject: [PATCH] AC_Avoidance: add missing includes for AP_AHRS --- libraries/AC_Avoidance/AP_OABendyRuler.cpp | 2 ++ libraries/AC_Avoidance/AP_OADijkstra.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/libraries/AC_Avoidance/AP_OABendyRuler.cpp b/libraries/AC_Avoidance/AP_OABendyRuler.cpp index 649624a21c..f18ff33492 100644 --- a/libraries/AC_Avoidance/AP_OABendyRuler.cpp +++ b/libraries/AC_Avoidance/AP_OABendyRuler.cpp @@ -14,7 +14,9 @@ */ #include "AP_OABendyRuler.h" + #include +#include 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 diff --git a/libraries/AC_Avoidance/AP_OADijkstra.cpp b/libraries/AC_Avoidance/AP_OADijkstra.cpp index 80bf7ed880..f2ec3d561b 100644 --- a/libraries/AC_Avoidance/AP_OADijkstra.cpp +++ b/libraries/AC_Avoidance/AP_OADijkstra.cpp @@ -14,7 +14,9 @@ */ #include "AP_OADijkstra.h" + #include +#include #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