Browse Source

AP_NavEKF3: remove unneeded initialisations

AP_NavEKF3 should never be allocated in uninitialised memory
master
Peter Barker 7 years ago committed by Randy Mackay
parent
commit
6791808ac6
  1. 4
      libraries/AP_NavEKF3/AP_NavEKF3.cpp

4
libraries/AP_NavEKF3/AP_NavEKF3.cpp

@ -581,9 +581,7 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = { @@ -581,9 +581,7 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
NavEKF3::NavEKF3(const AP_AHRS *ahrs, const RangeFinder &rng) :
_ahrs(ahrs),
_rng(rng),
runCoreSelection(false), // true when the default primary core has stabilised after startup and core selection can run
inhibitGpsVertVelUse(false) // true when GPS vertical velocity use is prohibited
_rng(rng)
{
AP_Param::setup_object_defaults(this, var_info);
}

Loading…
Cancel
Save