mirror of https://github.com/ArduPilot/ardupilot
Rover: added OpticalFlow object
needed to keep SITL build happy
This commit is contained in:
parent
8708297341
commit
5193b2b7cf
|
@ -112,6 +112,7 @@
|
|||
|
||||
#include <AP_Notify.h> // Notify library
|
||||
#include <AP_BattMonitor.h> // Battery monitor library
|
||||
#include <AP_OpticalFlow.h> // Optical Flow library
|
||||
|
||||
// Configuration
|
||||
#include "config.h"
|
||||
|
@ -258,6 +259,8 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd);
|
|||
static void exit_mission();
|
||||
AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission);
|
||||
|
||||
static OpticalFlow optflow;
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
SITL sitl;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue