APM_Control: tidy includes

This commit is contained in:
Peter Barker 2022-04-08 19:45:01 +10:00 committed by Andrew Tridgell
parent 6f2fd9c4a4
commit 73c6eabde2
2 changed files with 6 additions and 6 deletions

View File

@ -25,6 +25,7 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Logger/AP_Logger.h>
#include <AP_Math/AP_Math.h>
#include <AC_PID/AC_PID.h>
extern const AP_HAL::HAL& hal;

View File

@ -1,10 +1,9 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#include <AP_Logger/LogStructure.h>
#include <AP_Param/AP_Param.h>
#include <Filter/SlewLimiter.h>
#include <AP_Vehicle/AP_Vehicle.h>
#include <AC_PID/AC_PID.h>
#include <Filter/ModeFilter.h>
class AP_AutoTune
@ -44,7 +43,7 @@ public:
// constructor
AP_AutoTune(ATGains &_gains, ATType type, const AP_Vehicle::FixedWing &parms, AC_PID &rpid);
AP_AutoTune(ATGains &_gains, ATType type, const AP_Vehicle::FixedWing &parms, class AC_PID &rpid);
// called when autotune mode is entered
void start(void);
@ -55,7 +54,7 @@ public:
// update called whenever autotune mode is active. This is
// called at the main loop rate
void update(AP_PIDInfo &pid_info, float scaler, float angle_err_deg);
void update(struct AP_PIDInfo &pid_info, float scaler, float angle_err_deg);
// are we running?
bool running;
@ -63,7 +62,7 @@ public:
private:
// the current gains
ATGains &current;
AC_PID &rpid;
class AC_PID &rpid;
// what type of autotune is this
ATType type;