Tracker: integrate simpler Log_Write_EKF

This commit is contained in:
Randy Mackay 2017-08-22 12:16:44 +09:00
parent 6a4c8efd7b
commit 659aa0ce59
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_EKF(ahrs,false);
DataFlash.Log_Write_EKF(ahrs);
DataFlash.Log_Write_AHRS2(ahrs);
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE(&DataFlash);