diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-16 23:46:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-16 23:54:29 +0200 |
commit | b100e39826bd17ef7f5e3d1ec06f2afb8c7af9c1 (patch) | |
tree | e01ad6b1126dc43367892377833f4ec82afee150 | |
parent | 72ec704bfeedfc152cd7e7118bb2f3cf935e1f57 (diff) |
gui: get rotation sign right
-rw-r--r-- | gui/ui.cpp | 2 | ||||
-rw-r--r-- | gui/ui.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -375,7 +375,7 @@ void MainWindow::stopTracker() void MainWindow::display_pose(const double *mapped, const double *raw) { - ui.pose_display->rotateBy(mapped[Yaw], mapped[Pitch], mapped[Roll], + ui.pose_display->rotateBy(mapped[Yaw], -mapped[Pitch], -mapped[Roll], mapped[TX], mapped[TY], mapped[TZ]); if (mapping_widget) @@ -1,4 +1,4 @@ -/* Copyright (c) 2014-2015, Stanislaw Halik <sthalik@misaki.pl> +/* Copyright (c) 2013-2016, Stanislaw Halik <sthalik@misaki.pl> * Permission to use, copy, modify, and/or distribute this * software for any purpose with or without fee is hereby granted, |