mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 07:17:35 +08:00
Remove unused variable
This commit is contained in:
committed by
Mathieu Bresciani
parent
afd4f3f86b
commit
61c139ea95
@@ -519,7 +519,6 @@ void Ekf::fuseYaw321(float yaw, float yaw_variance, bool zero_innovation)
|
|||||||
if (zero_innovation) {
|
if (zero_innovation) {
|
||||||
innovation = 0.0f;
|
innovation = 0.0f;
|
||||||
} else {
|
} else {
|
||||||
Eulerf euler321(_state.quat_nominal);
|
|
||||||
innovation = wrap_pi(atan2f(_R_to_earth(1, 0), _R_to_earth(0, 0)) - measurement);
|
innovation = wrap_pi(atan2f(_R_to_earth(1, 0), _R_to_earth(0, 0)) - measurement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user