diff --git a/horusgui/__init__.py b/horusgui/__init__.py index df0ed33..8a3be2e 100755 --- a/horusgui/__init__.py +++ b/horusgui/__init__.py @@ -1 +1 @@ -__version__ = "0.3.12" +__version__ = "0.3.13" diff --git a/horusgui/config.py b/horusgui/config.py index 464fa42..301e141 100644 --- a/horusgui/config.py +++ b/horusgui/config.py @@ -76,7 +76,7 @@ def read_config(widgets): """ Read in configuration settings from Qt """ global qt_settings, default_config - 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'] + 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'] # Try and read in the version parameter from QSettings if qt_settings.value("version") not in OK_VERSIONS: diff --git a/horusgui/gui.py b/horusgui/gui.py index 82e4c80..d5607d7 100644 --- a/horusgui/gui.py +++ b/horusgui/gui.py @@ -1016,7 +1016,7 @@ def handle_new_packet(frame): widgets['latestPacketElevationValue'].setText(f"{_position_info['elevation']:.1f}") widgets['latestPacketRangeValue'].setText(f"{_position_info['straight_distance']/1000.0:.1f}") - if rotator: + if rotator and not ( _decoded['latitude'] == 0.0 and _decoded['longitude'] == 0.0 ): try: rotator.set_azel(_position_info['bearing'], _position_info['elevation'], check_response=False) widgets["rotatorCurrentPositionValue"].setText(f"{_position_info['bearing']:3.1f}˚, {_position_info['elevation']:2.1f}˚") diff --git a/pyproject.toml b/pyproject.toml index 03d5934..547bb0c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "horusgui" -version = "0.3.12" +version = "0.3.13" description = "" authors = ["Mark Jessop "] @@ -12,7 +12,7 @@ PyQt5 = "^5.13.0" pyqtgraph = "^0.11.0" pyaudio = "^0.2.11" "ruamel.yaml" = "^0.16.10" -horusdemodlib = "^0.3.10" +horusdemodlib = "^0.3.12" [tool.poetry.dev-dependencies] diff --git a/requirements.txt b/requirements.txt index d66a12f..ff84a75 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,4 @@ PyQt5 pyqtgraph==0.12.4 ruamel.yaml requests -horusdemodlib>=0.3.6 +horusdemodlib>=0.3.12