Browse Source

AC fix sitl attitude hil build

mission-4.1.18
Michael Oborne 13 years ago
parent
commit
f4705577c8
  1. 4
      ArduCopter/ArduCopter.pde

4
ArduCopter/ArduCopter.pde

@ -291,6 +291,10 @@ AP_TimerProcess timer_scheduler; @@ -291,6 +291,10 @@ AP_TimerProcess timer_scheduler;
#ifdef OPTFLOW_ENABLED
AP_OpticalFlow_ADNS3080 optflow(OPTFLOW_CS_PIN);
#endif
#ifdef DESKTOP_BUILD
#include <SITL.h>
SITL sitl;
#endif
static int32_t gps_base_alt;
#else
#error Unrecognised HIL_MODE setting.

Loading…
Cancel
Save