mirror of
https://github.com/bistromath/gr-air-modes.git
synced 2026-03-06 17:16:49 +01:00
Altitude now taken from types 4, 5, 20 short replies as well, for ADS-B-equipped aircraft. Bearing/heading updated real-time.
TODO: figure out how to filter aircraft list for ADS-B-equipped aircraft only
This commit is contained in:
@@ -81,8 +81,8 @@ class data_field:
|
||||
>> (self.get_numbits() - startbit - num + self.offset)) \
|
||||
& ((1 << num) - 1)
|
||||
except ValueError:
|
||||
#pass
|
||||
print "Got short packet but expected long retrieving bits (%i, %i) with type %i" % (startbit, num, self.get_type())
|
||||
pass
|
||||
#print "Got short packet but expected long retrieving bits (%i, %i) with type %i" % (startbit, num, self.get_type())
|
||||
return bits
|
||||
|
||||
class bds09_reply(data_field):
|
||||
|
||||
Reference in New Issue
Block a user