diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-17 22:31:53 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-17 22:32:06 +0200 |
commit | d28b006ab7029234ddac79d9179cb1c024fd505e (patch) | |
tree | 9870a5e83c38b39a0c2edb035d38e9b12b240489 /tracker-aruco | |
parent | 2b7a07da187981f4b36a56c3593949d31d3220fb (diff) |
tracker/aruco: add twice more space for X and Y translation
Issue: #411
Requested-by: @Tux0Topo
Diffstat (limited to 'tracker-aruco')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } |