mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tracker: fixed EKF3 logging
This commit is contained in:
parent
0266cb61e0
commit
1c3fefa150
@ -11,7 +11,7 @@ void Tracker::Log_Write_Attitude()
|
|||||||
targets.y = nav_status.pitch * 100.0f;
|
targets.y = nav_status.pitch * 100.0f;
|
||||||
targets.z = wrap_360_cd(nav_status.bearing * 100.0f);
|
targets.z = wrap_360_cd(nav_status.bearing * 100.0f);
|
||||||
DataFlash.Log_Write_Attitude(ahrs, targets);
|
DataFlash.Log_Write_Attitude(ahrs, targets);
|
||||||
DataFlash.Log_Write_EKF2(ahrs,false);
|
DataFlash.Log_Write_EKF(ahrs,false);
|
||||||
DataFlash.Log_Write_AHRS2(ahrs);
|
DataFlash.Log_Write_AHRS2(ahrs);
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
sitl.Log_Write_SIMSTATE(&DataFlash);
|
sitl.Log_Write_SIMSTATE(&DataFlash);
|
||||||
|
Loading…
Reference in New Issue
Block a user