ekf2: GNSS yaw, use reported yaw accuracy when available

This commit is contained in:
bresch
2022-11-21 12:43:47 +01:00
committed by Daniel Agar
parent b25bc1b982
commit 60c448ce3a
4 changed files with 11 additions and 3 deletions
+1
View File
@@ -1931,6 +1931,7 @@ void EKF2::UpdateGpsSample(ekf2_timestamps_s &ekf2_timestamps)
.alt = vehicle_gps_position.alt,
.yaw = vehicle_gps_position.heading,
.yaw_offset = vehicle_gps_position.heading_offset,
.yaw_accuracy = vehicle_gps_position.heading_accuracy,
.fix_type = vehicle_gps_position.fix_type,
.eph = vehicle_gps_position.eph,
.epv = vehicle_gps_position.epv,