forked from Archive/PX4-Autopilot
yaw_fusion: remove useless initialization
This commit is contained in:
parent
75c49b2082
commit
edc8a88c24
|
@ -313,7 +313,7 @@ bool Ekf::resetGpsAntYaw()
|
||||||
|
|
||||||
// save a copy of the quaternion state for later use in calculating the amount of reset change
|
// save a copy of the quaternion state for later use in calculating the amount of reset change
|
||||||
const Quatf quat_before_reset = _state.quat_nominal;
|
const Quatf quat_before_reset = _state.quat_nominal;
|
||||||
Quatf quat_after_reset = _state.quat_nominal;
|
Quatf quat_after_reset;
|
||||||
|
|
||||||
// obtain the yaw angle using the best conditioned from either a Tait-Bryan 321 or 312 sequence
|
// obtain the yaw angle using the best conditioned from either a Tait-Bryan 321 or 312 sequence
|
||||||
// to avoid gimbal lock
|
// to avoid gimbal lock
|
||||||
|
|
Loading…
Reference in New Issue