mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 23:24:06 +08:00
EKF: Fix rebase error
This commit is contained in:
parent
911d4d8f49
commit
4b3140e5f7
@ -614,7 +614,7 @@ void Ekf::controlGpsFusion()
|
||||
// use GPS velocity data to check and correct yaw angle if a FW vehicle
|
||||
if (_control_status.flags.fixed_wing && _control_status.flags.in_air) {
|
||||
// if flying a fixed wing aircraft, do a complete reset that includes yaw
|
||||
_flt_mag_align_complete = realignYawGPS();
|
||||
_control_status.flags.mag_align_complete = realignYawGPS();
|
||||
}
|
||||
|
||||
resetVelocity();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user