mirror of https://github.com/ArduPilot/ardupilot
Plane: dummy AP_ExternalControl implementation
This commit is contained in:
parent
847c7980c7
commit
56dcad3cc2
|
@ -83,6 +83,10 @@
|
||||||
#include <AP_Landing/AP_Landing.h>
|
#include <AP_Landing/AP_Landing.h>
|
||||||
#include <AP_LandingGear/AP_LandingGear.h> // Landing Gear library
|
#include <AP_LandingGear/AP_LandingGear.h> // Landing Gear library
|
||||||
#include <AP_Follow/AP_Follow.h>
|
#include <AP_Follow/AP_Follow.h>
|
||||||
|
#include <AP_ExternalControl/AP_ExternalControl_config.h>
|
||||||
|
#if AP_EXTERNAL_CONTROL_ENABLED
|
||||||
|
#include <AP_ExternalControl/AP_ExternalControl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "GCS_Mavlink.h"
|
#include "GCS_Mavlink.h"
|
||||||
#include "GCS_Plane.h"
|
#include "GCS_Plane.h"
|
||||||
|
@ -770,6 +774,11 @@ private:
|
||||||
|
|
||||||
AP_Param param_loader {var_info};
|
AP_Param param_loader {var_info};
|
||||||
|
|
||||||
|
// dummy implementation of external control
|
||||||
|
#if AP_EXTERNAL_CONTROL_ENABLED
|
||||||
|
AP_ExternalControl external_control;
|
||||||
|
#endif
|
||||||
|
|
||||||
static const AP_Scheduler::Task scheduler_tasks[];
|
static const AP_Scheduler::Task scheduler_tasks[];
|
||||||
static const AP_Param::Info var_info[];
|
static const AP_Param::Info var_info[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue