mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 14:33:33 +08:00
Rename yaw_use_inhibit -> is_yaw_fusion_inhibited
Temp
This commit is contained in:
committed by
Mathieu Bresciani
parent
4cb2d1c645
commit
796afd5f98
+2
-2
@@ -784,7 +784,7 @@ void Ekf::fuseHeading()
|
||||
|
||||
// handle special case where yaw measurement is unavailable
|
||||
bool fuse_zero_innov = false;
|
||||
if (_yaw_use_inhibit) {
|
||||
if (_is_yaw_fusion_inhibited) {
|
||||
// The yaw measurement cannot be trusted but we need to fuse something to prevent a badly
|
||||
// conditioned covariance matrix developing over time.
|
||||
if (!_control_status.flags.vehicle_at_rest) {
|
||||
@@ -851,7 +851,7 @@ void Ekf::fuseHeading()
|
||||
|
||||
// handle special case where yaw measurement is unavailable
|
||||
bool fuse_zero_innov = false;
|
||||
if (_yaw_use_inhibit) {
|
||||
if (_is_yaw_fusion_inhibited) {
|
||||
// The yaw measurement cannot be trusted but we need to fuse something to prevent a badly
|
||||
// conditioned covariance matrix developing over time.
|
||||
if (!_control_status.flags.vehicle_at_rest) {
|
||||
|
||||
Reference in New Issue
Block a user