mirror of https://github.com/ArduPilot/ardupilot
INav_EKF: accept baro_glitch in constructor
Required so it can create an InertialNav object
This commit is contained in:
parent
322f527c4f
commit
4db4471f49
|
@ -14,8 +14,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, Baro_Glitch& baro_glitch) :
|
||||||
AP_InertialNav(ahrs, baro, gps_glitch),
|
AP_InertialNav(ahrs, baro, gps_glitch, baro_glitch),
|
||||||
_haveabspos(false)
|
_haveabspos(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue