WOrk on >50175 feet altitudes and generating all altitudes

This commit is contained in:
nzkarit
2018-05-06 21:21:19 +12:00
parent c9cae9130a
commit ac80823285
6 changed files with 93 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class ModeS:
location = ModeSLocation()
enc_alt = location.encode_alt_modes(alt, surface)
#print "Alt(%r): %X " % (surface, enc_alt)
#encode that position
(evenenclat, evenenclon) = location.cpr_encode(lat, lon, False, surface)
(oddenclat, oddenclon) = location.cpr_encode(lat, lon, True, surface)