From 17bca6cacbd56f4692927a4571b8e49361b52bca Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 13 Jan 2014 08:43:35 +0100 Subject: rescale aruco to centimeters, like PT does --- ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index cb44927a..845179f2 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -389,11 +389,11 @@ void Tracker::GetHeadPoseData(double *data) if (s.eroll) data[Roll] = pose[Roll]; if (s.ex) - data[TX] = pose[TX]; + data[TX] = pose[TX] * .1; if (s.ey) - data[TY] = pose[TY]; + data[TY] = pose[TY] * .1; if (s.ez) - data[TZ] = pose[TZ]; + data[TZ] = pose[TZ] * .1; } class TrackerDll : public Metadata -- cgit v1.2.3