mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 13:23:34 +08:00
Support full vision variance
This commit is contained in:
committed by
Mathieu Bresciani
parent
4ab3dd50c9
commit
07e8e88e88
+1
-1
@@ -626,7 +626,7 @@ void Ekf::fuseHeading()
|
||||
|
||||
} else if (_control_status.flags.ev_yaw) {
|
||||
// using error estimate from external vision data
|
||||
R_YAW = sq(fmaxf(_ev_sample_delayed.angErr, 1.0e-2f));
|
||||
R_YAW = fmaxf(_ev_sample_delayed.angVar, sq(1.0e-2f));
|
||||
|
||||
} else {
|
||||
// default value
|
||||
|
||||
Reference in New Issue
Block a user