Browse Source

EKF: optflow fusion cleanup

Co-authored-by: kritz <kritz@ethz.ch>
master
Paul Riseborough 5 years ago
parent
commit
0e74f3ea9d
  1. 3
      EKF/optflow_fusion.cpp

3
EKF/optflow_fusion.cpp

@ -116,8 +116,7 @@ void Ekf::fuseOptFlow() @@ -116,8 +116,7 @@ void Ekf::fuseOptFlow()
// 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
// body frame
Dcmf Tbs;
Tbs.identity();
const Dcmf Tbs = matrix::eye<float, 3>();
// Sub Expressions
const float HK0 = -Tbs(1,0)*q2 + Tbs(1,1)*q1 + Tbs(1,2)*q0;

Loading…
Cancel
Save