all-call reply
This commit is contained in:
parent
e120ab4be3
commit
4264a60a52
|
|
@ -177,6 +177,10 @@ class ModeSParser(PickleModule):
|
||||||
# aircraft operation status
|
# aircraft operation status
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
elif format == 11:
|
||||||
|
# Mode-S All-call reply
|
||||||
|
message["icao"] = input[1:4].hex()
|
||||||
|
|
||||||
if "lat" in message and "lon" in message:
|
if "lat" in message and "lon" in message:
|
||||||
loc = AirplaneLocation(message)
|
loc = AirplaneLocation(message)
|
||||||
Map.getSharedInstance().updateLocation({"callsign": icao}, loc, "ADS-B", None)
|
Map.getSharedInstance().updateLocation({"callsign": icao}, loc, "ADS-B", None)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue