AntennaTracker: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library

This commit is contained in:
Peter Barker 2022-01-24 17:23:44 +11:00 committed by Andrew Tridgell
parent bd069cc5e9
commit 0df4b8066c
1 changed files with 0 additions and 5 deletions

View File

@ -12,11 +12,6 @@ void Tracker::Log_Write_Attitude()
targets.z = wrap_360_cd(nav_status.bearing * 100.0f);
ahrs.Write_Attitude(targets);
AP::ahrs().Log_Write();
ahrs.Write_AHRS2();
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE();
#endif
ahrs.Write_POS();
}
struct PACKED log_Vehicle_Baro {