Skip to content
Snippets Groups Projects
Commit 5193b2b7 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Rover: added OpticalFlow object

needed to keep SITL build happy
parent 87082973
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,7 @@ ...@@ -112,6 +112,7 @@
#include <AP_Notify.h> // Notify library #include <AP_Notify.h> // Notify library
#include <AP_BattMonitor.h> // Battery monitor library #include <AP_BattMonitor.h> // Battery monitor library
#include <AP_OpticalFlow.h> // Optical Flow library
// Configuration // Configuration
#include "config.h" #include "config.h"
...@@ -258,6 +259,8 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd); ...@@ -258,6 +259,8 @@ static bool verify_command(const AP_Mission::Mission_Command& cmd);
static void exit_mission(); static void exit_mission();
AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission); AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission);
static OpticalFlow optflow;
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL #if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
SITL sitl; SITL sitl;
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment