Fix flipped DoA plots

pull/43/head
Mark Jessop 2022-07-16 20:45:19 +09:30
rodzic f69d5b71cf
commit 622766a0c6
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -8,4 +8,4 @@
# Now using Semantic Versioning (https://semver.org/) MAJOR.MINOR.PATCH
__version__ = "1.4.1"
__version__ = "1.4.2"

Wyświetl plik

@ -165,10 +165,11 @@ class Bearings(object):
# Relative bearing - we need to fuse this with the current car position.
# Temporary hack for KerberosSDR bearings, which are reflected across N/S
if _source == "kerberos-sdr":
if _source == "krakensdr_doa":
bearing["bearing"] = 360.0 - bearing["bearing"]
bearing["raw_doa"] = bearing["raw_doa"][::-1]
_new_bearing = {
"timestamp": _arrival_time,
"src_timestamp": _src_timestamp,