diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-03 23:36:23 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:20 +0100 |
commit | eb1ad39023671ec6980f8631179452423de15e90 (patch) | |
tree | 1a8c07261a7debd03647f52ea46e3fcdcd56ec5d /tracker-pt/point_tracker.h | |
parent | 76f132045d5ebcc0a55a78595b17b222daa6a4af (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.h | 3 |
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; |