summaryrefslogtreecommitdiff
path: root/src/state.cpp
diff options
context:
space:
mode:
authorMartin Miller2017-07-07 04:35:29 -0500
committerMartin Miller2017-07-07 04:35:29 -0500
commited16dd266029d220109dcbc37c43922b1bbab3f1 (patch)
treead3404d79e3325257b5dd807fbdded472c60d92d /src/state.cpp
parente22f2b6ce5cea845004614d62522e846179dff1b (diff)
parent8d73fd6f27ff524be88c2a2e06a67e22f47d28b9 (diff)
downloadrefslam-ed16dd266029d220109dcbc37c43922b1bbab3f1.zip
refslam-ed16dd266029d220109dcbc37c43922b1bbab3f1.tar.gz
Merge remote-tracking branch 'origin/732017' into 732017
Diffstat (limited to 'src/state.cpp')
-rw-r--r--src/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.cpp b/src/state.cpp
index 8b1ff3f..b521eff 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -21,7 +21,7 @@ State::State ( )
{
body = new Body;
P = Matrix<double,Dynamic,Dynamic>::Zero(STATESIZE,STATESIZE);
- P.block<3,3>(6,6) = covbias*Matrix3d::Identity();
+ P.block<3,3>(STATESIZE-3,STATESIZE-3) = covbias*Matrix3d::Identity();
return ;
} /* ----- end of method State::State ----- */