AP_AHRS: navekf: add Log_Write access point

This commit is contained in:
Peter Barker 2019-07-03 09:54:23 +10:00 committed by Andrew Tridgell
parent f3f364de26
commit 9732940220
2 changed files with 8 additions and 1 deletions

View File

@ -1810,6 +1810,11 @@ void AP_AHRS_NavEKF::check_lane_switch(void)
}
}
void AP_AHRS_NavEKF::Log_Write()
{
get_NavEKF2().Log_Write();
get_NavEKF3().Log_Write();
}
AP_AHRS_NavEKF &AP::ahrs_navekf()
{

View File

@ -261,7 +261,9 @@ public:
// see if EKF lane switching is possible to avoid EKF failsafe
void check_lane_switch(void) override;
void Log_Write();
private:
enum EKF_TYPE {EKF_TYPE_NONE=0,
EKF_TYPE3=3,