From dafaa2efc8a496df9eb518c3befdad08826d2189 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 19 Nov 2012 09:04:03 +1100 Subject: [PATCH] SITL: disable optical flow on the desktop build it doesn't work yet, as no sensor emulator is available --- ArduCopter/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/config.h b/ArduCopter/config.h index 8ba7e73097..40a68f599c 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -83,6 +83,10 @@ # define TOY_MIXER TOY_LINEAR_MIXER #endif +// optical flow doesn't work in SITL yet +#ifdef DESKTOP_BUILD +# define OPTFLOW DISABLED +#endif //////////////////////////////////////////////////////////////////////////////