mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 19:17:34 +08:00
@@ -116,8 +116,7 @@ void Ekf::fuseOptFlow()
|
|||||||
// The derivation allows for an arbitrary body to flow sensor frame rotation which is
|
// The derivation allows for an arbitrary body to flow sensor frame rotation which is
|
||||||
// currently not supported by the EKF, so assume sensor frame is aligned with the
|
// currently not supported by the EKF, so assume sensor frame is aligned with the
|
||||||
// body frame
|
// body frame
|
||||||
Dcmf Tbs;
|
const Dcmf Tbs = matrix::eye<float, 3>();
|
||||||
Tbs.identity();
|
|
||||||
|
|
||||||
// Sub Expressions
|
// Sub Expressions
|
||||||
const float HK0 = -Tbs(1,0)*q2 + Tbs(1,1)*q1 + Tbs(1,2)*q0;
|
const float HK0 = -Tbs(1,0)*q2 + Tbs(1,1)*q1 + Tbs(1,2)*q0;
|
||||||
|
|||||||
Reference in New Issue
Block a user