Rover: dummy implementation of AP_ExternalControl

This commit is contained in:
Andrew Tridgell 2023-08-09 10:47:59 +10:00
parent 56dcad3cc2
commit 62f9aa5d79

View File

@ -44,6 +44,10 @@
#include <AP_OpticalFlow/AP_OpticalFlow.h>
#include <AC_PrecLand/AC_PrecLand_config.h>
#include <AP_Follow/AP_Follow_config.h>
#include <AP_ExternalControl/AP_ExternalControl_config.h>
#if AP_EXTERNAL_CONTROL_ENABLED
#include <AP_ExternalControl/AP_ExternalControl.h>
#endif
// Configuration
#include "defines.h"
@ -143,6 +147,11 @@ private:
// Arming/Disarming management class
AP_Arming_Rover arming;
// dummy external control implementation
#if AP_EXTERNAL_CONTROL_ENABLED
AP_ExternalControl external_control;
#endif
#if AP_OPTICALFLOW_ENABLED
AP_OpticalFlow optflow;
#endif