Global airborne CPR position reconstruction from even/odd ADS-B frames.
More...
|
| int | _nl (float latitude) |
| tuple[float, float]|None | decode_global (int even_lat, int even_lon, int odd_lat, int odd_lon, *, bool most_recent_odd) |
| | Decode paired airborne CPR, or None for inconsistent latitude zones.
|
Global airborne CPR position reconstruction from even/odd ADS-B frames.
◆ _nl()
| int sdrforge.adsb.cpr._nl |
( |
float | latitude | ) |
|
|
protected |
Number of longitude zones at latitude, per 1090ES CPR.
◆ decode_global()
| tuple[float, float] | None sdrforge.adsb.cpr.decode_global |
( |
int | even_lat, |
|
|
int | even_lon, |
|
|
int | odd_lat, |
|
|
int | odd_lon, |
|
|
* | , |
|
|
bool | most_recent_odd ) |
Decode paired airborne CPR, or None for inconsistent latitude zones.
The caller must ensure frames are from the same ICAO aircraft, airborne, and close enough in time (normally <=10 seconds).
- Parameters
-
| even_lat | The even lat value. |
| even_lon | The even lon value. |
| odd_lat | The odd lat value. |
| odd_lon | The odd lon value. |
| most_recent_odd | The most recent odd value. |
- Returns
- The operation result.
◆ CPR_SCALE
| int sdrforge.adsb.cpr.CPR_SCALE = 131072 |