mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
AP_AHRS: fix include order due to cyclic include
This commit is contained in:
parent
70805d61f2
commit
fdfa08c586
@ -22,6 +22,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
|
#define AP_AHRS_NAVEKF_AVAILABLE 1
|
||||||
#include "AP_AHRS.h"
|
#include "AP_AHRS.h"
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
@ -33,7 +35,7 @@
|
|||||||
#include <AP_NavEKF3/AP_NavEKF3.h>
|
#include <AP_NavEKF3/AP_NavEKF3.h>
|
||||||
#include <AP_NavEKF/AP_Nav_Common.h> // definitions shared by inertial and ekf nav filters
|
#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
|
#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 {
|
class AP_AHRS_NavEKF : public AP_AHRS_DCM {
|
||||||
|
Loading…
Reference in New Issue
Block a user