summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-03 23:36:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commiteb1ad39023671ec6980f8631179452423de15e90 (patch)
tree1a8c07261a7debd03647f52ea46e3fcdcd56ec5d /tracker-pt/point_tracker.h
parent76f132045d5ebcc0a55a78595b17b222daa6a4af (diff)
tracker/pt: set expected pose to identity reset_state()
Also there's this evil `static' but it probably resulted in having it set to identity anyway.
Diffstat (limited to 'tracker-pt/point_tracker.h')
-rw-r--r--tracker-pt/point_tracker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h
index 63d81456..df56842a 100644
--- a/tracker-pt/point_tracker.h
+++ b/tracker-pt/point_tracker.h
@@ -77,7 +77,8 @@ private:
// The POSIT algorithm, returns the number of iterations
int POSIT(const PointModel& point_model, const PointOrder& order, f focal_length);
- Affine X_CM; // transform from model to camera
+ Affine X_CM; // transform from model to camera
+ Affine X_CM_expected;
PointOrder prev_positions;
Timer t;
bool init_phase = true, prev_positions_valid = false;