Plane: dummy AP_ExternalControl implementation

This commit is contained in:
Andrew Tridgell 2023-08-09 10:45:57 +10:00
parent 847c7980c7
commit 56dcad3cc2
1 changed files with 9 additions and 0 deletions

View File

@ -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[];