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()
|
void Copter::Log_Write_EKF_POS()
|
||||||
{
|
{
|
||||||
AP::ahrs().Log_Write();
|
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 {
|
struct PACKED log_Data_Int16t {
|
||||||
|
Loading…
Reference in New Issue
Block a user