Rover: added OpticalFlow object

needed to keep SITL build happy
This commit is contained in:
Andrew Tridgell 2015-01-02 22:45:50 +11:00
parent 8708297341
commit 5193b2b7cf
1 changed files with 3 additions and 0 deletions

View File

@ -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