EKF matrix typedef cleanup

This commit is contained in:
Daniel Agar
2017-06-19 11:10:01 -04:00
parent b255d4a53a
commit c44488fdb8
11 changed files with 55 additions and 53 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ void Ekf::fuseOptFlow()
float heightAboveGndEst = math::max((_terrain_vpos - _state.pos(2)), gndclearance);
// get rotation nmatrix from earth to body
matrix::Dcm<float> earth_to_body(_state.quat_nominal);
Dcmf earth_to_body(_state.quat_nominal);
earth_to_body = earth_to_body.transpose();
// calculate the sensor position relative to the IMU