mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 20:33:35 +08:00
Added kalman filter.
This commit is contained in:
@@ -202,6 +202,13 @@ public:
|
||||
|
||||
typedef SquareMatrix<float, 3> SquareMatrix3f;
|
||||
|
||||
template<typename Type, size_t M>
|
||||
SquareMatrix<Type, M> eye() {
|
||||
SquareMatrix<Type, M> m;
|
||||
m.setIdentity();
|
||||
return m;
|
||||
}
|
||||
|
||||
}; // namespace matrix
|
||||
|
||||
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */
|
||||
|
||||
Reference in New Issue
Block a user