mirror of https://github.com/ArduPilot/ardupilot
Updated arducopter to instantiate sensor classes to accomodate new HIL classes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@858 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
e245b7c7b3
commit
f622222f4a
|
@ -102,12 +102,15 @@
|
|||
|
||||
#include <Wire.h>
|
||||
#include <APM_ADC.h>
|
||||
APM_ADC_Class APM_ADC;
|
||||
#include <APM_RC.h>
|
||||
#include <DataFlash.h>
|
||||
#include <APM_Compass.h>
|
||||
APM_Compass_Class APM_Compass;
|
||||
#include <AP_Math.h>
|
||||
#ifdef UseBMP
|
||||
#include <APM_BMP085.h>
|
||||
APM_BMP085_Class APM_BMP085;
|
||||
#endif
|
||||
|
||||
#include <GPS_NMEA.h> // General NMEA GPS
|
||||
|
|
|
@ -165,11 +165,13 @@
|
|||
#include <math.h>
|
||||
#include <APM_RC.h> // ArduPilot Mega RC Library
|
||||
#include <APM_ADC.h> // ArduPilot Mega Analog to Digital Converter Library
|
||||
APM_ADC_Class APM_ADC; // Declare an instance
|
||||
#include <APM_BMP085.h> // ArduPilot Mega BMP085 Library
|
||||
APM_BMP085_Class APM_BMP085;// Declare an instance
|
||||
#include <DataFlash.h> // ArduPilot Mega Flash Memory Library
|
||||
#include <APM_Compass.h> // ArduPilot Mega Magnetometer Library
|
||||
APM_Compass_Class APM_Compass; // Declare an instance
|
||||
#include <Wire.h> // I2C Communication library
|
||||
#include <APM_BMP085.h> // ArduPilot Mega BMP085 Library
|
||||
#include <EEPROM.h> // EEPROM
|
||||
//#include <AP_GPS.h>
|
||||
#include "Arducopter.h"
|
||||
|
|
Loading…
Reference in New Issue