Closed wiseman closed 3 years ago
I think you might have given the wrong timestamps to the messages. The following code yields the same result:
print(pms.adsb.airborne_position(msg_odd, msg_even, 1, 0))
(88.91747, 101.01105)
Duh, thank you!
I haven't tracked it all the way down, but I think pyModeS may be incorrectly decoding this position. At least the position it returns disagrees with the position returned by two other libraries.
The position I get from adsb and antirez dump1090 is this:
Those two libraries use basically the same CPR NL function implementation, so maybe that's not a big surprise.
Note that those two messages are not actually valid for use in position decoding, because they were broadcast hours and many miles apart. But It still seems like there may be a potential issue.