AP_AHRS: Write external nav data to EKF3

This commit is contained in:
priseborough 2020-04-15 09:56:35 +09:00 committed by Randy Mackay
parent 610d43556c
commit 471372cc7f
1 changed files with 3 additions and 0 deletions

View File

@ -1458,6 +1458,9 @@ void AP_AHRS_NavEKF::writeExtNavData(const Vector3f &pos, const Quaternion &quat
#if HAL_NAVEKF2_AVAILABLE #if HAL_NAVEKF2_AVAILABLE
EKF2.writeExtNavData(pos, quat, posErr, angErr, timeStamp_ms, resetTime_ms); EKF2.writeExtNavData(pos, quat, posErr, angErr, timeStamp_ms, resetTime_ms);
#endif #endif
#if HAL_NAVEKF3_AVAILABLE
EKF3.writeExtNavData(pos, quat, posErr, angErr, timeStamp_ms, resetTime_ms);
#endif
} }
// Writes the default equivalent airspeed in m/s to be used in forward flight if a measured airspeed is required and not available. // Writes the default equivalent airspeed in m/s to be used in forward flight if a measured airspeed is required and not available.