diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-08 17:15:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-08 17:16:14 +0200 |
commit | 4e98241bac583b65aa29bd8b37ea360e11961d6b (patch) | |
tree | 523aa6eefb953536027b0ab59888d83d7c2f372e /gui | |
parent | 2778ac50551c5175125a066ba6b59cad6ce4e45b (diff) |
gui: make octopus pitch the right way
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -332,7 +332,7 @@ void MainWindow::startTracker() // trackers take care of layout state updates const bool is_inertial = ui.video_frame->layout() == nullptr; updateButtonState(true, is_inertial); - + // Update the state of the options window directly. // Might be better to emit signals and allow the options window // to connect its slots to them (?) @@ -371,7 +371,7 @@ void MainWindow::stopTracker() display_pose(p, p); } updateButtonState(false, false); - + if (options_widget) options_widget->update_widgets_states(false); @@ -382,7 +382,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) |