mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 00:53:34 +08:00
EKF matrix typedef cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user