Tracker: fixed EKF3 logging

This commit is contained in:
Andrew Tridgell 2016-12-18 12:11:03 +11:00
parent 0266cb61e0
commit 1c3fefa150
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ void Tracker::Log_Write_Attitude()
targets.y = nav_status.pitch * 100.0f;
targets.z = wrap_360_cd(nav_status.bearing * 100.0f);
DataFlash.Log_Write_Attitude(ahrs, targets);
DataFlash.Log_Write_EKF2(ahrs,false);
DataFlash.Log_Write_EKF(ahrs,false);
DataFlash.Log_Write_AHRS2(ahrs);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE(&DataFlash);