kopia lustrzana https://github.com/projecthorus/horusdemodlib
Version bump, add frequency to UDP output
rodzic
0ad7488b32
commit
06d33707d3
|
@ -1 +1 @@
|
|||
__version__ = "0.3.13"
|
||||
__version__ = "0.3.14"
|
||||
|
|
|
@ -44,6 +44,9 @@ def send_payload_summary(telemetry, port=55672, comment="HorusDemodLib"):
|
|||
if 'snr' in telemetry:
|
||||
packet['snr'] = telemetry['snr']
|
||||
|
||||
if "f_centre" in telemetry:
|
||||
packet["frequency"] = telemetry["f_centre"] / 1e6 # Hz -> MHz
|
||||
|
||||
if 'satellites' in telemetry:
|
||||
packet['sats'] = telemetry['satellites']
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "horusdemodlib"
|
||||
version = "0.3.13"
|
||||
version = "0.3.14"
|
||||
description = "Project Horus HAB Telemetry Demodulators"
|
||||
authors = ["Mark Jessop"]
|
||||
license = "LGPL-2.1-or-later"
|
||||
|
|
Ładowanie…
Reference in New Issue