|
|
|
@ -97,6 +97,7 @@
@@ -97,6 +97,7 @@
|
|
|
|
|
#include <AP_HAL_AVR.h> |
|
|
|
|
#include <AP_HAL_AVR_SITL.h> |
|
|
|
|
#include <AP_HAL_PX4.h> |
|
|
|
|
#include <AP_HAL_FLYMAPLE.h> |
|
|
|
|
#include <AP_HAL_Empty.h> |
|
|
|
|
#include "compat.h" |
|
|
|
|
|
|
|
|
@ -237,6 +238,8 @@ AP_InertialSensor_MPU6000 ins;
@@ -237,6 +238,8 @@ AP_InertialSensor_MPU6000 ins;
|
|
|
|
|
AP_InertialSensor_PX4 ins; |
|
|
|
|
#elif CONFIG_INS_TYPE == CONFIG_INS_STUB |
|
|
|
|
AP_InertialSensor_Stub ins; |
|
|
|
|
#elif CONFIG_INS_TYPE == CONFIG_INS_FLYMAPLE |
|
|
|
|
AP_InertialSensor_Flymaple ins; |
|
|
|
|
#elif CONFIG_INS_TYPE == CONFIG_INS_OILPAN |
|
|
|
|
AP_InertialSensor_Oilpan ins( &adc ); |
|
|
|
|
#else |
|
|
|
|