diff options
author | Martin Miller | 2017-03-20 11:57:09 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-20 11:57:09 -0500 |
commit | 0f25fa35e063d3df3c652153b2d6f1b9f94ce82e (patch) | |
tree | 9a8e77093c64a96e355756632ea9dd70c17c98b9 /src/body.h | |
parent | c51745a84d6240e68e6a429a8b9c80341a0198d7 (diff) | |
download | refslam-0f25fa35e063d3df3c652153b2d6f1b9f94ce82e.zip refslam-0f25fa35e063d3df3c652153b2d6f1b9f94ce82e.tar.gz |
Fix Jacobian of motion model.
This fixes a bug that was present in the pyslam code. The Jacobian of the motion
model needs to be replaced with:
F = I + F*dt
Diffstat (limited to 'src/body.h')
-rw-r--r-- | src/body.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ class Body void vel(const Matrix<double,3,1> &v); /* ==================== OPERATORS ======================================= */ - Matrix<double,9,9> F(const Vector3d &ang, const Quaterniond &q); + Matrix<double,9,9> F(const Vector3d &ang, const Quaterniond &q, double dt); Matrix<double,1,9> H(); Matrix<double,1,1> h(); void motionModel ( const Vector3d &acc, const Vector3d &ang, |