diff options
author | Martin Miller | 2017-03-24 13:32:25 -0500 |
---|---|---|
committer | Martin Miller | 2017-03-24 13:32:25 -0500 |
commit | bd2b2ae18c2c9416fd57a02b187d42b805969af0 (patch) | |
tree | 6d73c31142ddda14413b5f437e3cecd8d57893ce /src/main.h | |
parent | 9458b30126e346c9e0d373c9df5690655bf7f8ab (diff) | |
download | refslam-bd2b2ae18c2c9416fd57a02b187d42b805969af0.zip refslam-bd2b2ae18c2c9416fd57a02b187d42b805969af0.tar.gz |
Move feature depth calculation to Feature class.
And also fixed F computation for features.
I realized that the features were transformed from image to body frame
prior to being passed to State. This makes sense because the State
really doesn't need to know about Camera objects. Since the camera was
no longer necessary inside of State it made sense to move the depth
computation from Camera::ref2body() into a method in the Feature class
that does not rely on camera parameters.
Additionally, the depth solver was changed from a simple matrix
inversion to a least squares calculation.
Fx in the feature class was fixed to take into account dt.
Updating Pkk1 is in the process of being modified to handle features.
Diffstat (limited to 'src/main.h')
0 files changed, 0 insertions, 0 deletions