From 05771e02863479c618be42cdf47860134cf7b643 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Aug 2023 10:47:59 +1000 Subject: [PATCH] Rover: dummy implementation of AP_ExternalControl --- Rover/Rover.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Rover/Rover.h b/Rover/Rover.h index d0a6f15ad35e75..fd22073c5bbbdb 100644 --- a/Rover/Rover.h +++ b/Rover/Rover.h @@ -44,6 +44,10 @@ #include #include #include +#include +#if AP_EXTERNAL_CONTROL_ENABLED +#include +#endif // Configuration #include "defines.h" @@ -143,6 +147,11 @@ class Rover : public AP_Vehicle { // 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