AP_SmartRTL: use ins singleton

This commit is contained in:
Lucas De Marchi 2018-03-10 23:21:02 -08:00 committed by Lucas De Marchi
parent daa8819619
commit 43750d6f77
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public:
RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270}; RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270};
NavEKF2 EKF2{&ahrs, rangefinder}; NavEKF2 EKF2{&ahrs, rangefinder};
NavEKF3 EKF3{&ahrs, rangefinder}; NavEKF3 EKF3{&ahrs, rangefinder};
AP_AHRS_NavEKF ahrs{ins, EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
}; };
static DummyVehicle vehicle; static DummyVehicle vehicle;