Browse Source

Inav_EKF: init member and remove hal reference to reduce compiler warnings

master
Randy Mackay 11 years ago
parent
commit
6f60ce3d6e
  1. 2
      libraries/AP_InertialNav/AP_InertialNav_NavEKF.cpp
  2. 3
      libraries/AP_InertialNav/AP_InertialNav_NavEKF.h

2
libraries/AP_InertialNav/AP_InertialNav_NavEKF.cpp

@ -3,8 +3,6 @@ @@ -3,8 +3,6 @@
#include <AP_HAL.h>
#include "AP_InertialNav.h"
extern const AP_HAL::HAL& hal;
#if AP_AHRS_NAVEKF_AVAILABLE
/*

3
libraries/AP_InertialNav/AP_InertialNav_NavEKF.h

@ -15,7 +15,8 @@ class AP_InertialNav_NavEKF : public AP_InertialNav @@ -15,7 +15,8 @@ class AP_InertialNav_NavEKF : public AP_InertialNav
public:
// Constructor
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…
Cancel
Save