[][src]Module adsb::cpr

Decode aircraft positions encoded in Compact Position Reporting (CPR) format.



Calculates a globally unambiguous position based on a pair of frames containing position information encoded in CPR format. A position is returned when passed a tuple containing two frames of opposite parity (even and odd). The frames in the tuple should be ordered according to when they were received: the first frame being the oldest frame and the second frame being the latest.