mirror of https://github.com/ArduPilot/ardupilot
Rover: integrate simpler Log_Write_EKF
This commit is contained in:
parent
2ab3c5a9c3
commit
b7921a8341
|
@ -292,11 +292,7 @@ void Rover::Log_Write_Attitude()
|
|||
DataFlash.Log_Write_Attitude(ahrs, targets);
|
||||
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
#if defined(OPTFLOW) and (OPTFLOW == ENABLED)
|
||||
DataFlash.Log_Write_EKF(ahrs, optflow.enabled());
|
||||
#else
|
||||
DataFlash.Log_Write_EKF(ahrs, false);
|
||||
#endif
|
||||
DataFlash.Log_Write_EKF(ahrs);
|
||||
DataFlash.Log_Write_AHRS2(ahrs);
|
||||
#endif
|
||||
DataFlash.Log_Write_POS(ahrs);
|
||||
|
|
Loading…
Reference in New Issue