Skip to content

Commit c531572

Browse files
Mark JessopMark Jessop
authored andcommitted
v0.3.13 updates. Fix rotator pointing to 0,0.
1 parent 6fb1e8b commit c531572

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

horusgui/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.12"
1+
__version__ = "0.3.13"

horusgui/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def read_config(widgets):
7676
""" Read in configuration settings from Qt """
7777
global qt_settings, default_config
7878

79-
OK_VERSIONS = [__version__, '0.3.11', '0.3.10', '0.3.9', '0.3.8', '0.3.7', '0.3.6', '0.3.5', '0.3.4', '0.3.1', '0.2.1']
79+
OK_VERSIONS = [__version__, '0.3.12', '0.3.11', '0.3.10', '0.3.9', '0.3.8', '0.3.7', '0.3.6', '0.3.5', '0.3.4', '0.3.1', '0.2.1']
8080

8181
# Try and read in the version parameter from QSettings
8282
if qt_settings.value("version") not in OK_VERSIONS:

horusgui/gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def handle_new_packet(frame):
10161016
widgets['latestPacketElevationValue'].setText(f"{_position_info['elevation']:.1f}")
10171017
widgets['latestPacketRangeValue'].setText(f"{_position_info['straight_distance']/1000.0:.1f}")
10181018

1019-
if rotator:
1019+
if rotator and not ( _decoded['latitude'] == 0.0 and _decoded['longitude'] == 0.0 ):
10201020
try:
10211021
rotator.set_azel(_position_info['bearing'], _position_info['elevation'], check_response=False)
10221022
widgets["rotatorCurrentPositionValue"].setText(f"{_position_info['bearing']:3.1f}˚, {_position_info['elevation']:2.1f}˚")

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "horusgui"
3-
version = "0.3.12"
3+
version = "0.3.13"
44
description = ""
55
authors = ["Mark Jessop <[email protected]>"]
66

@@ -12,7 +12,7 @@ PyQt5 = "^5.13.0"
1212
pyqtgraph = "^0.11.0"
1313
pyaudio = "^0.2.11"
1414
"ruamel.yaml" = "^0.16.10"
15-
horusdemodlib = "^0.3.10"
15+
horusdemodlib = "^0.3.12"
1616

1717
[tool.poetry.dev-dependencies]
1818

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ PyQt5
55
pyqtgraph==0.12.4
66
ruamel.yaml
77
requests
8-
horusdemodlib>=0.3.6
8+
horusdemodlib>=0.3.12

0 commit comments

Comments
 (0)