summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_aruco
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-13 08:43:35 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-13 08:43:47 +0100
commit17bca6cacbd56f4692927a4571b8e49361b52bca (patch)
tree719043910bf960c1ed9543e9bd0679ea191f744e /ftnoir_tracker_aruco
parent86624024323616370433df39ace145f779b8c311 (diff)
rescale aruco to centimeters, like PT does
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r--ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp6
1 files 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