mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 06:23:33 +08:00
EKF: Add fusion of external yaw data
This commit is contained in:
@@ -310,6 +310,10 @@ bool Ekf::update()
|
||||
_fuse_pos = true;
|
||||
_fuse_height = true;
|
||||
}
|
||||
// use external vision yaw observation
|
||||
if (_control_status.flags.ev_yaw) {
|
||||
fuseHeading();
|
||||
}
|
||||
}
|
||||
|
||||
// If we are using optical flow aiding and data has fallen behind the fusion time horizon, then fuse it
|
||||
|
||||
Reference in New Issue
Block a user