AP_NavEKF2: correct includes

This commit is contained in:
Peter Barker 2024-08-30 18:21:22 +10:00 committed by Peter Barker
parent b5cd3370eb
commit 8b8307c132
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,5 @@
#include "AP_NavEKF2.h"
#include "AP_NavEKF2_core.h" #include "AP_NavEKF2_core.h"
#include <AP_DAL/AP_DAL.h> #include <AP_DAL/AP_DAL.h>

View File

@ -1,14 +1,13 @@
#include <AP_HAL/AP_HAL.h>
#include "AP_NavEKF2_core.h" #include "AP_NavEKF2_core.h"
#include "AP_NavEKF2.h"
#include <GCS_MAVLink/GCS.h> #include <GCS_MAVLink/GCS.h>
#include <AP_DAL/AP_DAL.h> #include <AP_DAL/AP_DAL.h>
#include <AP_InternalError/AP_InternalError.h> #include <AP_InternalError/AP_InternalError.h>
#if AP_RANGEFINDER_ENABLED #if AP_RANGEFINDER_ENABLED
extern const AP_HAL::HAL& hal;
/******************************************************** /********************************************************
* OPT FLOW AND RANGE FINDER * * OPT FLOW AND RANGE FINDER *

View File

@ -1,5 +1,7 @@
#include "AP_NavEKF2_core.h" #include "AP_NavEKF2_core.h"
#include "AP_NavEKF2.h"
#include <AP_DAL/AP_DAL.h> #include <AP_DAL/AP_DAL.h>
/* Monitor GPS data to see if quality is good enough to initialise the EKF /* Monitor GPS data to see if quality is good enough to initialise the EKF

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include <AP_Logger/LogStructure.h> #include <AP_Logger/LogStructure.h>
#include <AP_AHRS/AP_AHRS.h> #include <AP_AHRS/AP_AHRS_config.h>
#define LOG_IDS_FROM_NAVEKF2 \ #define LOG_IDS_FROM_NAVEKF2 \
LOG_NKF0_MSG, \ LOG_NKF0_MSG, \