diff options
author | Martin Miller | 2017-03-18 14:32:52 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-18 14:32:52 -0500 |
commit | fde220c19346797c4d55c2f479f7efb2f8c9073a (patch) | |
tree | d1399a0c230ac38037909432a42ed7070ae8455b /src/body.h | |
parent | aeadc3d4f2a9a7a626a6c44f0bd0a0892c7a8251 (diff) | |
download | refslam-fde220c19346797c4d55c2f479f7efb2f8c9073a.zip refslam-fde220c19346797c4d55c2f479f7efb2f8c9073a.tar.gz |
Add support for INSCOVS.
The position and velocity covariances are rotated into the correct
frames: NED and FRD.
Diffstat (limited to 'src/body.h')
-rw-r--r-- | src/body.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -23,8 +23,12 @@ class Body /* ==================== MUTATORS ======================================= */ /* ==================== OPERATORS ======================================= */ - void motionModel ( Matrix<double,9,1> &X, const Vector3d &acc, const Vector3d &ang, const Quaternion<double> &q, const double dt); + void motionModel ( Matrix<double,9,1> &X, const Vector3d &acc, + const Vector3d &ang, const Quaternion<double> &q, const double dt); + void F(const Matrix<double,9,1> &X, const Vector3d &ang, const Quaternion<double> &q); void skewSymmetric(const Vector3d &x, Matrix<double,3,3> &y); + void H(Matrix<double, 1,9> &H); + void h(const Matrix<double,9,1> &X, Matrix<double,1,1> &h); protected: /* ==================== METHODS ======================================= */ |