mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-10 20:28:53 +08:00
Replace float with Type in kalman.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ int kalman_correct(
|
||||
const Matrix<Type, N, 1> &r,
|
||||
Matrix<Type, M, 1> & dx,
|
||||
Matrix<Type, M, M> & dP,
|
||||
float & beta
|
||||
Type & beta
|
||||
)
|
||||
{
|
||||
SquareMatrix<Type, N> S_I = SquareMatrix<Type, N>(C*P*C.T() + R).I();
|
||||
|
||||
Reference in New Issue
Block a user