mirror of https://github.com/ArduPilot/ardupilot
AC_AutoTune: change namespace of MultiCopter and FixedWing params
this stops the libraries knowing anything about AP_Vehicle
This commit is contained in:
parent
48d25cfc9f
commit
e340c4655b
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue