summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-26 16:26:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-26 16:26:27 +0200
commitef7bba81d346e86e92428b75f41ff6ef148e4928 (patch)
tree4b99c2881cf48b550839de764124a71dbd63f9b8
parentfe020b5b69549ef652b41c2deca0c2dedde3c13c (diff)
pt: decruft following c++11 requirement
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
index f13021a9..9aed5a1f 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt.cpp
@@ -115,11 +115,7 @@ void Tracker::apply(const TrackerSettings& settings)
point_extractor.threshold_val = settings.threshold;
point_extractor.min_size = settings.min_point_size;
point_extractor.max_size = settings.max_point_size;
-#ifdef OPENTRACK_API
- point_tracker.point_model.reset(new PointModel(settings.M01, settings.M02));
-#else
point_tracker.point_model = boost::shared_ptr<PointModel>(new PointModel(settings.M01, settings.M02));
-#endif
point_tracker.dynamic_pose_resolution = settings.dyn_pose_res;
sleep_time = settings.sleep_time;
point_tracker.dt_reset = settings.reset_time / 1000.0;