summaryrefslogtreecommitdiff
path: root/src/feature.cpp
diff options
context:
space:
mode:
authorMartin Miller2017-04-04 16:10:26 -0500
committerMartin Miller2017-04-04 16:10:26 -0500
commit2c0ce68acd031b67fdffaea3b2e50cca4f487633 (patch)
treecbaeca5d911fefaca0468c6aa469a5bfc7cf0c6d /src/feature.cpp
parent0c8912c5dc1ec3c752f8648ca2a8181275ba2654 (diff)
downloadrefslam-2c0ce68acd031b67fdffaea3b2e50cca4f487633.zip
refslam-2c0ce68acd031b67fdffaea3b2e50cca4f487633.tar.gz
Full state mostly implemented.
STATESIZE 9 works just as it does for experiment04032017 tag. The quaternion covariance is not being set correctly yet.
Diffstat (limited to 'src/feature.cpp')
-rw-r--r--src/feature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature.cpp b/src/feature.cpp
index 9c6bf84..85396e3 100644
--- a/src/feature.cpp
+++ b/src/feature.cpp
@@ -350,7 +350,7 @@ Feature::Fx ( double dt )
y2 = X[2];
Matrix<double,3,STATESIZE> F;
F = Matrix<double,3,STATESIZE>::Zero();
- F.block<3,3>(0,3) << y0*y2,-y2,
+ F.block<3,3>(0,3) << y0*y2,-y2, 0.,
y1*y2, 0.,-y2,
y2*y2, 0, 0;
F *= dt;