summaryrefslogtreecommitdiff
path: root/src/state.cpp
diff options
context:
space:
mode:
authorMartin Miller2017-03-27 13:01:36 -0500
committerMartin Miller2017-03-27 13:01:36 -0500
commitdea8e97a10ba23fc0aeb98ac57106540936c73f4 (patch)
tree02bd6ad4206a13061a3d3f61a6d30fe2d221c81f /src/state.cpp
parentf172db4323c271aa16b883f8a3c571614c53691c (diff)
downloadrefslam-dea8e97a10ba23fc0aeb98ac57106540936c73f4.zip
refslam-dea8e97a10ba23fc0aeb98ac57106540936c73f4.tar.gz
Change Body::update to Body::dx
Update was too vague since a lot of things get updated. dx more clearly refers to the incremental update after a Kalman update.
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 281d22e..1df68eb 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -172,7 +172,7 @@ State::kalmanUpdate( const MatrixXd &h, const MatrixXd &S,
y = innovation(z,q);
Matrix<double,Dynamic,1> dx;
dx = K*y;
- body->update(dx.segment<9>(0));
+ body->dx(dx.segment<9>(0));
{
int row=9;
for (auto i=features.begin(); i!=features.end(); ++i, row+=3) {