AP_AHRS: fix include order due to cyclic include

This commit is contained in:
Pierre Kancir 2018-04-10 10:56:06 +02:00 committed by Randy Mackay
parent 70805d61f2
commit fdfa08c586
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@
*/
#include <AP_HAL/AP_HAL.h>
#define AP_AHRS_NAVEKF_AVAILABLE 1
#include "AP_AHRS.h"
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
@ -33,7 +35,7 @@
#include <AP_NavEKF3/AP_NavEKF3.h>
#include <AP_NavEKF/AP_Nav_Common.h> // definitions shared by inertial and ekf nav filters
#define AP_AHRS_NAVEKF_AVAILABLE 1
#define AP_AHRS_NAVEKF_SETTLE_TIME_MS 20000 // time in milliseconds the ekf needs to settle after being started
class AP_AHRS_NavEKF : public AP_AHRS_DCM {