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

This commit is contained in:
Peter Barker 2022-01-24 17:23:45 +11:00 committed by Andrew Tridgell
parent 35506d0681
commit d6c653bdc5

View File

@ -42,12 +42,6 @@ void Plane::Log_Write_Attitude(void)
logger.Write_PID(LOG_PIDS_MSG, steerController.get_pid_info());
AP::ahrs().Log_Write();
ahrs.Write_AHRS2();
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
sitl.Log_Write_SIMSTATE();
#endif
ahrs.Write_POS();
}
// do fast logging for plane