mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 15:53:33 +08:00
ECL: Clean velPos logging, deprecate ekf2_innovations msg
This commit is contained in:
@@ -172,10 +172,10 @@ void BlockLocalPositionEstimator::flowCorrect()
|
||||
Matrix<float, n_y_flow, n_y_flow> S = C * m_P * C.transpose() + R;
|
||||
|
||||
// publish innovations
|
||||
_pub_innov.get().flow_innov[0] = r(0);
|
||||
_pub_innov.get().flow_innov[1] = r(1);
|
||||
_pub_innov.get().flow_innov_var[0] = S(0, 0);
|
||||
_pub_innov.get().flow_innov_var[1] = S(1, 1);
|
||||
_pub_innov.get().flow[0] = r(0);
|
||||
_pub_innov.get().flow[1] = r(1);
|
||||
_pub_innov_var.get().flow[0] = S(0, 0);
|
||||
_pub_innov_var.get().flow[1] = S(1, 1);
|
||||
|
||||
// residual covariance, (inverse)
|
||||
Matrix<float, n_y_flow, n_y_flow> S_I = inv<float, n_y_flow>(S);
|
||||
|
||||
Reference in New Issue
Block a user