AP_NavEKF3: remove unneeded initialisations
AP_NavEKF3 should never be allocated in uninitialised memory
This commit is contained in:
parent
d38ff1dd2c
commit
6791808ac6
@ -581,9 +581,7 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
|
|||||||
|
|
||||||
NavEKF3::NavEKF3(const AP_AHRS *ahrs, const RangeFinder &rng) :
|
NavEKF3::NavEKF3(const AP_AHRS *ahrs, const RangeFinder &rng) :
|
||||||
_ahrs(ahrs),
|
_ahrs(ahrs),
|
||||||
_rng(rng),
|
_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
|
|
||||||
{
|
{
|
||||||
AP_Param::setup_object_defaults(this, var_info);
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user