From 5f75e2578d7c5c2ce23850e86cbe47e9a389c679 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Mon, 24 May 2021 13:11:00 +0100 Subject: [PATCH] Don't apply settings with Az/El received. Fix typos --- plugins/feature/startracker/readme.md | 4 ++-- plugins/feature/startracker/startrackergui.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/feature/startracker/readme.md b/plugins/feature/startracker/readme.md index f563e9e13..bd3db7958 100644 --- a/plugins/feature/startracker/readme.md +++ b/plugins/feature/startracker/readme.md @@ -132,7 +132,7 @@ For all other target settings, this displays the calculated elevation (angle in

Light or dark theme

-click on this icon ![Star Tracker Chart theme](../../../doc/img/StarTracker_chart_theme.png) to switch between light and dark themes for the charts. +Click on this icon ![Star Tracker Chart theme](../../../doc/img/StarTracker_chart_theme.png) to switch between light and dark themes for the charts.

Elevation vs time

@@ -162,7 +162,7 @@ To see this figure, which will be typically lower than the above, select one of

Drift scan path

When the target (11) is set to Custom Az/El and the Sky temperature plot is displayed, a curve showing the drift scan path over a 24 hour period will be displayed. -This assumes the azimuth and elevation will be held constant and the path shows how the part of the sky the antenna will point to as the Earth rotates. +This assumes the azimuth and elevation will be held constant and the path shows the part of the sky the antenna will point to as the Earth rotates. ![Drift scan path](../../../doc/img/StarTracker_driftscan.png) diff --git a/plugins/feature/startracker/startrackergui.cpp b/plugins/feature/startracker/startrackergui.cpp index 9a29ceb4e..a50da8f89 100644 --- a/plugins/feature/startracker/startrackergui.cpp +++ b/plugins/feature/startracker/startrackergui.cpp @@ -109,8 +109,10 @@ bool StarTrackerGUI::handleMessage(const Message& message) else if (StarTrackerReport::MsgReportAzAl::match(message)) { StarTrackerReport::MsgReportAzAl& azAl = (StarTrackerReport::MsgReportAzAl&) message; + blockApplySettings(true); ui->azimuth->setValue(azAl.getAzimuth()); ui->elevation->setValue(azAl.getElevation()); + blockApplySettings(false); return true; } else if (StarTrackerReport::MsgReportRADec::match(message))