mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduSub: move logging of SIMSTATE, AHRS2 and POS into AP_AHRS library
This commit is contained in:
parent
d6c653bdc5
commit
a25e4f82cc
@ -58,11 +58,6 @@ void Sub::Log_Write_Attitude()
|
||||
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_Data_Int16t {
|
||||
|
Loading…
Reference in New Issue
Block a user