mirror of https://github.com/ArduPilot/ardupilot
APM_Control: tidy includes
This commit is contained in:
parent
6f2fd9c4a4
commit
73c6eabde2
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 ¤t;
|
||||
AC_PID &rpid;
|
||||
class AC_PID &rpid;
|
||||
|
||||
// what type of autotune is this
|
||||
ATType type;
|
||||
|
|
Loading…
Reference in New Issue