v0.3.13 updates. Fix rotator pointing to 0,0.

pyqt6 v0.3.13
Mark Jessop 2023-07-28 22:00:18 +09:30
rodzic 6fb1e8bcba
commit c531572b2b
5 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -1 +1 @@
__version__ = "0.3.12"
__version__ = "0.3.13"

Wyświetl plik

@ -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:

Wyświetl plik

@ -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}˚")

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry]
name = "horusgui"
version = "0.3.12"
version = "0.3.13"
description = ""
authors = ["Mark Jessop <vk5qi@rfhead.net>"]
@ -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]

Wyświetl plik

@ -5,4 +5,4 @@ PyQt5
pyqtgraph==0.12.4
ruamel.yaml
requests
horusdemodlib>=0.3.6
horusdemodlib>=0.3.12