mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 17:53:59 -04:00
Inav_EKF: init member and remove hal reference to reduce compiler warnings
This commit is contained in:
parent
e27ff75a71
commit
6f60ce3d6e
@ -3,8 +3,6 @@
|
|||||||
#include <AP_HAL.h>
|
#include <AP_HAL.h>
|
||||||
#include "AP_InertialNav.h"
|
#include "AP_InertialNav.h"
|
||||||
|
|
||||||
extern const AP_HAL::HAL& hal;
|
|
||||||
|
|
||||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -15,7 +15,8 @@ class AP_InertialNav_NavEKF : public AP_InertialNav
|
|||||||
public:
|
public:
|
||||||
// Constructor
|
// Constructor
|
||||||
AP_InertialNav_NavEKF(AP_AHRS &ahrs, AP_Baro &baro, GPS_Glitch& gps_glitch ) :
|
AP_InertialNav_NavEKF(AP_AHRS &ahrs, AP_Baro &baro, GPS_Glitch& gps_glitch ) :
|
||||||
AP_InertialNav(ahrs, baro, gps_glitch)
|
AP_InertialNav(ahrs, baro, gps_glitch),
|
||||||
|
_haveabspos(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user