Remove unused variable

This commit is contained in:
kamilritz
2020-06-21 13:18:01 +02:00
committed by Mathieu Bresciani
parent afd4f3f86b
commit 61c139ea95
-1
View File
@@ -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);
} }