kopia lustrzana https://github.com/projecthorus/chasemapper
Fix flipped DoA plots
rodzic
f69d5b71cf
commit
622766a0c6
|
@ -8,4 +8,4 @@
|
|||
|
||||
# Now using Semantic Versioning (https://semver.org/) MAJOR.MINOR.PATCH
|
||||
|
||||
__version__ = "1.4.1"
|
||||
__version__ = "1.4.2"
|
||||
|
|
|
@ -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,
|
||||
|
|
Ładowanie…
Reference in New Issue