mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Rover: fixed EKF3 logging
This commit is contained in:
parent
bebc7e4519
commit
0266cb61e0
@ -283,9 +283,9 @@ void Rover::Log_Write_Attitude()
|
||||
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#if defined(OPTFLOW) and (OPTFLOW == ENABLED)
|
||||
DataFlash.Log_Write_EKF2(ahrs,optflow.enabled());
|
||||
DataFlash.Log_Write_EKF(ahrs,optflow.enabled());
|
||||
#else
|
||||
DataFlash.Log_Write_EKF2(ahrs,false);
|
||||
DataFlash.Log_Write_EKF(ahrs,false);
|
||||
#endif
|
||||
DataFlash.Log_Write_AHRS2(ahrs);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user