diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-29 06:08:27 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-29 06:11:24 +0100 |
commit | 86f0ba1f6d7f1240f95ca2e517b648ab0681a841 (patch) | |
tree | 151ba887d35580059df3f195cf89b3fa19a3c656 /ftnoir_tracker_aruco | |
parent | 4929fc3045e0a2bf1593eeae633d70fd662bcf0f (diff) |
oops, invert right thing now
Diffstat (limited to 'ftnoir_tracker_aruco')
-rw-r--r-- | ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp index 2bb41f56..53cb70ad 100644 --- a/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp +++ b/ftnoir_tracker_aruco/ftnoir_tracker_aruco.cpp @@ -372,10 +372,12 @@ void Tracker::run() QMutexLocker lck(&mtx); + tvec[1] *= -1; + for (int i = 0; i < 3; i++) pose[i] = tvec(i); pose[Yaw] = euler[1]; - pose[Pitch] = euler[0]; + pose[Pitch] = -euler[0]; pose[Roll] = euler[2]; r = rmat; |