summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-01 16:26:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-01 16:26:10 +0100
commit69dc9c96a1f544857d3909dd0412515840d544ca (patch)
tree169e0b071f6f0ef3341bd66767c3ff95f46a7580 /opentrack
parent4c5c229403ef4afc7dfb4d825901574cf9cc93b3 (diff)
fix typo
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index a092a754..4a9be069 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -137,7 +137,7 @@ void Tracker::logic()
{
const dmat<3, 3> rmat = euler_to_rmat(&filtered_pose[Yaw]);
- const dmat<3, 3> m_ = r_b.t() * rmat;
+ const dmat<3, 3> m_ = rmat * r_b.t();
const auto euler = rmat_to_euler(m_);
for (int i = 0; i < 3; i++)
{