Mission: fix example sketch

This commit is contained in:
Randy Mackay 2015-03-13 14:59:04 +09:00
parent c88ff00f5f
commit 4772fd338c

View File

@ -24,7 +24,6 @@
#include <StorageManager.h> #include <StorageManager.h>
#include <AP_Terrain.h> #include <AP_Terrain.h>
#include <AP_GPS.h> // ArduPilot GPS library #include <AP_GPS.h> // ArduPilot GPS library
#include <AP_GPS_Glitch.h> // GPS glitch protection library
#include <AP_ADC.h> // ArduPilot Mega Analog to Digital Converter Library #include <AP_ADC.h> // ArduPilot Mega Analog to Digital Converter Library
#include <AP_ADC_AnalogSource.h> #include <AP_ADC_AnalogSource.h>
#include <AP_Baro.h> // ArduPilot Mega Barometer Library #include <AP_Baro.h> // ArduPilot Mega Barometer Library
@ -45,7 +44,6 @@ AP_Baro baro;
// GPS declaration // GPS declaration
static AP_GPS gps; static AP_GPS gps;
GPS_Glitch gps_glitch(gps);
AP_Compass_HMC5843 compass; AP_Compass_HMC5843 compass;
AP_AHRS_DCM ahrs(ins, baro, gps); AP_AHRS_DCM ahrs(ins, baro, gps);