AC_AutoTune: change namespace of MultiCopter and FixedWing params

this stops the libraries knowing anything about AP_Vehicle
This commit is contained in:
Peter Barker 2022-11-08 21:10:56 +11:00 committed by Andrew Tridgell
parent 48d25cfc9f
commit e340c4655b
4 changed files with 7 additions and 0 deletions

View File

@ -2,7 +2,9 @@
#include <AP_Logger/AP_Logger.h>
#include <AP_Scheduler/AP_Scheduler.h>
#include <AP_Notify/AP_Notify.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>
#define AUTOTUNE_PILOT_OVERRIDE_TIMEOUT_MS 500 // restart tuning if pilot has left sticks in middle for 2 seconds
#if APM_BUILD_TYPE(APM_BUILD_ArduPlane)

View File

@ -20,6 +20,7 @@
#include "AC_AutoTune_Heli.h"
#include <AP_Logger/AP_Logger.h>
#include <GCS_MAVLink/GCS.h>
#define AUTOTUNE_TESTING_STEP_TIMEOUT_MS 5000U // timeout for tuning mode's testing step

View File

@ -21,6 +21,8 @@
#include "AC_AutoTune.h"
#include <AP_Math/chirp.h>
#include <AP_Scheduler/AP_Scheduler.h>
class AC_AutoTune_Heli : public AC_AutoTune
{
public:

View File

@ -1,6 +1,8 @@
#include "AC_AutoTune_Multi.h"
#include <AP_Logger/AP_Logger.h>
#include <AP_Scheduler/AP_Scheduler.h>
#include <GCS_MAVLink/GCS.h>
/*
* autotune support for multicopters