From d28b006ab7029234ddac79d9179cb1c024fd505e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 17 Aug 2016 22:31:53 +0200 Subject: tracker/aruco: add twice more space for X and Y translation Issue: #411 Requested-by: @Tux0Topo --- tracker-aruco/ftnoir_tracker_aruco.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp') diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 64f404cc..4fc5405f 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -402,8 +402,8 @@ void Tracker::data(double *data) data[Yaw] = pose[Yaw]; data[Pitch] = pose[Pitch]; data[Roll] = pose[Roll]; - data[TX] = pose[TX]; - data[TY] = pose[TY]; + data[TX] = pose[TX] * .5; + data[TY] = pose[TY] * .5; data[TZ] = pose[TZ]; } -- cgit v1.2.3