Skip to content

Commit

Permalink
Rover: dummy implementation of AP_ExternalControl
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and Ryanf55 committed Aug 18, 2023
1 parent 4bed9ef commit 05771e0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rover/Rover.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 05771e0

Please sign in to comment.