Skip to content

Commit

Permalink
AP_Soaring: remove use of AP_AHRS from most headers
Browse files Browse the repository at this point in the history
don't need to know the details, just that it is a class
  • Loading branch information
peterbarker committed Aug 31, 2024
1 parent e7e3797 commit bd373cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions libraries/AP_Soaring/AP_Soaring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#if HAL_SOARING_ENABLED

#include <AP_AHRS/AP_AHRS.h>
#include <AP_Logger/AP_Logger.h>
#include <AP_TECS/AP_TECS.h>
#include <GCS_MAVLink/GCS.h>
Expand Down
3 changes: 2 additions & 1 deletion libraries/AP_Soaring/Variometer.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ Manages the estimation of aircraft total energy, drag and vertical air velocity.
*/
#pragma once

#include <AP_AHRS/AP_AHRS.h>
#include <AP_Param/AP_Param.h>
#include <Filter/AverageFilter.h>
#include <Filter/LowPassFilter.h>
#include <AP_Vehicle/AP_FixedWing.h>
#include <AP_Common/Location.h>

class Variometer {

Expand Down

0 comments on commit bd373cd

Please sign in to comment.