From 771696e7d56569f277ac8175e9fb5add16a71cb2 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 31 Aug 2024 12:01:03 +1000 Subject: [PATCH] AP_Soaring: remove use of AP_AHRS from most headers don't need to know the details, just that it is a class --- libraries/AP_Soaring/AP_Soaring.cpp | 1 + libraries/AP_Soaring/Variometer.cpp | 1 + libraries/AP_Soaring/Variometer.h | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/AP_Soaring/AP_Soaring.cpp b/libraries/AP_Soaring/AP_Soaring.cpp index 6133e1e920..9fd24b3509 100644 --- a/libraries/AP_Soaring/AP_Soaring.cpp +++ b/libraries/AP_Soaring/AP_Soaring.cpp @@ -2,6 +2,7 @@ #if HAL_SOARING_ENABLED +#include #include #include #include diff --git a/libraries/AP_Soaring/Variometer.cpp b/libraries/AP_Soaring/Variometer.cpp index 712a6c3b4d..67e33fba03 100644 --- a/libraries/AP_Soaring/Variometer.cpp +++ b/libraries/AP_Soaring/Variometer.cpp @@ -4,6 +4,7 @@ Manages the estimation of aircraft total energy, drag and vertical air velocity. */ #include "Variometer.h" +#include #include Variometer::Variometer(const AP_FixedWing &parms, const PolarParams &polarParams) : diff --git a/libraries/AP_Soaring/Variometer.h b/libraries/AP_Soaring/Variometer.h index d5237b92dc..4dea29fd05 100644 --- a/libraries/AP_Soaring/Variometer.h +++ b/libraries/AP_Soaring/Variometer.h @@ -5,10 +5,11 @@ Manages the estimation of aircraft total energy, drag and vertical air velocity. */ #pragma once -#include #include #include +#include #include +#include class Variometer {