diff --git a/APMrover2/APMrover2.pde b/APMrover2/APMrover2.pde index 2ee02c966e..3e72a3e0e4 100644 --- a/APMrover2/APMrover2.pde +++ b/APMrover2/APMrover2.pde @@ -112,6 +112,7 @@ #include // Notify library #include // Battery monitor library +#include // 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