mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_NavEKF3: stop taking ahrs in constructor
This commit is contained in:
parent
da3d3cc21b
commit
e289020332
@ -607,10 +607,10 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
||||
NavEKF3::NavEKF3(const AP_AHRS *ahrs) :
|
||||
_ahrs(ahrs)
|
||||
NavEKF3::NavEKF3()
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
_ahrs = &AP::ahrs();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -34,7 +34,7 @@ class NavEKF3 {
|
||||
friend class NavEKF3_core;
|
||||
|
||||
public:
|
||||
NavEKF3(const AP_AHRS *ahrs);
|
||||
NavEKF3();
|
||||
|
||||
/* Do not allow copies */
|
||||
NavEKF3(const NavEKF3 &other) = delete;
|
||||
|
Loading…
Reference in New Issue
Block a user