mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
Mission: fix example sketch
This commit is contained in:
parent
c88ff00f5f
commit
4772fd338c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user