mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
ArduCopter: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library
This commit is contained in:
parent
0df4b8066c
commit
35506d0681
@ -87,11 +87,6 @@ void Copter::Log_Write_Attitude()
|
||||
void Copter::Log_Write_EKF_POS()
|
||||
{
|
||||
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_Data_Int16t {
|
||||
|
Loading…
Reference in New Issue
Block a user