|
|
|
@ -91,6 +91,7 @@ static AP_Vehicle::FixedWing aparm;
@@ -91,6 +91,7 @@ static AP_Vehicle::FixedWing aparm;
|
|
|
|
|
#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> |
|
|
|
|
|
|
|
|
|
AP_HAL::BetterStream* cliSerial; |
|
|
|
@ -246,6 +247,8 @@ AP_InertialSensor_PX4 ins;
@@ -246,6 +247,8 @@ AP_InertialSensor_PX4 ins;
|
|
|
|
|
AP_InertialSensor_Stub ins; |
|
|
|
|
#elif CONFIG_INS_TYPE == CONFIG_INS_OILPAN |
|
|
|
|
AP_InertialSensor_Oilpan ins( &apm1_adc ); |
|
|
|
|
#elif CONFIG_INS_TYPE == CONFIG_INS_FLYMAPLE |
|
|
|
|
AP_InertialSensor_Flymaple ins; |
|
|
|
|
#else |
|
|
|
|
#error Unrecognised CONFIG_INS_TYPE setting. |
|
|
|
|
#endif // CONFIG_INS_TYPE |
|
|
|
|