|
|
|
@ -63,6 +63,7 @@
@@ -63,6 +63,7 @@
|
|
|
|
|
#include <AP_InertialSensor/AP_InertialSensor.h> // ArduPilot Mega Inertial Sensor (accel & gyro) Library |
|
|
|
|
#include <AP_AHRS/AP_AHRS.h> |
|
|
|
|
#include <AP_NavEKF/AP_NavEKF.h> |
|
|
|
|
#include <AP_NavEKF2/AP_NavEKF2.h> |
|
|
|
|
#include <AP_Mission/AP_Mission.h> // Mission command library |
|
|
|
|
#include <AP_Rally/AP_Rally.h> // Rally point library |
|
|
|
|
#include <AC_PID/AC_PID.h> // PID library |
|
|
|
@ -186,7 +187,8 @@ private:
@@ -186,7 +187,8 @@ private:
|
|
|
|
|
|
|
|
|
|
// Inertial Navigation EKF
|
|
|
|
|
NavEKF EKF{&ahrs, barometer, sonar}; |
|
|
|
|
AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF}; |
|
|
|
|
NavEKF2 EKF2{&ahrs, barometer, sonar}; |
|
|
|
|
AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF, EKF2}; |
|
|
|
|
|
|
|
|
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL |
|
|
|
|
SITL sitl; |
|
|
|
|