summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/point_tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-06 12:48:53 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:20 +0100
commit9f365bc81f9d7a3bb0b31261776580b178e02ce2 (patch)
treee691779ab8abf1933e8f54c2eb2ab69223a94db9 /tracker-pt/point_tracker.h
parente0cee2d8850e45e0832ebdb5b718fa42432e911a (diff)
tracker/pt: retire pose reuse
Diffstat (limited to 'tracker-pt/point_tracker.h')
-rw-r--r--tracker-pt/point_tracker.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tracker-pt/point_tracker.h b/tracker-pt/point_tracker.h
index df56842a..526c795b 100644
--- a/tracker-pt/point_tracker.h
+++ b/tracker-pt/point_tracker.h
@@ -70,8 +70,6 @@ private:
// the points in model order
using PointOrder = std::array<vec2, 3>;
- bool maybe_use_old_pose(const PointOrder& order, const pt_camera_info& info);
-
PointOrder find_correspondences(const vec2* projected_points, const PointModel &model);
PointOrder find_correspondences_previous(const vec2* points, const PointModel &model, const pt_camera_info& info);
// The POSIT algorithm, returns the number of iterations
@@ -81,7 +79,7 @@ private:
Affine X_CM_expected;
PointOrder prev_positions;
Timer t;
- bool init_phase = true, prev_positions_valid = false;
+ bool init_phase = true;
};
} // ns pt_module