mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
DataFlash: fix logging of ekf core
This commit is contained in:
parent
26c3295042
commit
9722c3a1c3
@ -1394,7 +1394,7 @@ void DataFlash_Class::Log_Write_EKF2(AP_AHRS_NavEKF &ahrs, bool optFlowEnabled)
|
||||
ahrs.get_NavEKF2().getFilterGpsStatus(0,gpsStatus);
|
||||
float tiltError;
|
||||
ahrs.get_NavEKF2().getTiltError(0,tiltError);
|
||||
uint8_t primaryIndex = ahrs.get_NavEKF2().getPrimaryCoreIndex();
|
||||
int8_t primaryIndex = ahrs.get_NavEKF2().getPrimaryCoreIndex();
|
||||
struct log_NKF4 pkt4 = {
|
||||
LOG_PACKET_HEADER_INIT(LOG_NKF4_MSG),
|
||||
time_us : time_us,
|
||||
|
Loading…
Reference in New Issue
Block a user