I set
#define OPTFLOW DISABLED
in APM_Config.h and got this:
[551/560] Compiling ArduCopter/mode_guided_nogps.cpp
../../ArduCopter/ekf_check.cpp: In member function 'bool Copter::ekf_over_threshold()':
../../ArduCopter/ekf_check.cpp:113:10: error: 'optflow' was not declared in this scope
if (!optflow.healthy() && (vel_variance >= (2.0f * g.fs_ekf_thresh))) {
^
compilation terminated due to -Wfatal-errors.
I set
#define OPTFLOW DISABLED
in APM_Config.h and got this:[551/560] Compiling ArduCopter/mode_guided_nogps.cpp ../../ArduCopter/ekf_check.cpp: In member function 'bool Copter::ekf_over_threshold()': ../../ArduCopter/ekf_check.cpp:113:10: error: 'optflow' was not declared in this scope if (!optflow.healthy() && (vel_variance >= (2.0f * g.fs_ekf_thresh))) { ^ compilation terminated due to -Wfatal-errors.
Waf: Leaving directory `/Users/andypiper/Documents/GitHub/ardupilot-released/build/KakuteF7Mini'
Bug report
Issue details
Please describe the problem
Version What version was the issue encountered with
Platform [ ] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Submarine
Airframe type What type of airframe (flying wing, glider, hex, Y6, octa etc)
Hardware type What autopilot hardware was used? (Pixhawk, Cube, Pixracer, Navio2, etc)
Logs Please provide a link to any relevant logs that show the issue