|
libSDRForge
|
Accept complete Mode S frames and maintain aircraft tracks. More...
Public Member Functions | |
| __init__ (self, *, float ttl_seconds=120) | |
| Handle init . | |
| Aircraft|None | accept (self, bytes|str frame, float now) |
| Handle accept. | |
| ReceiverStatistics | statistics (self, float now) |
| Handle statistics. | |
Public Attributes | |
| tracker = AircraftTracker(ttl_seconds=ttl_seconds) | |
| int | frames_seen = 0 |
| int | frames_valid = 0 |
| int | crc_failures = 0 |
| int | unsupported_frames = 0 |
Accept complete Mode S frames and maintain aircraft tracks.
| sdrforge.adsb.receiver_session.AdsbReceiverSession.__init__ | ( | self, | |
| * | , | ||
| float | ttl_seconds = 120 ) |
Handle init .
| self | The current instance. |
| ttl_seconds | The ttl seconds value. |
| Aircraft | None sdrforge.adsb.receiver_session.AdsbReceiverSession.accept | ( | self, | |
| bytes | str | frame, | ||
| float | now ) |
Handle accept.
| self | The current instance. |
| frame | The frame value. |
| now | The now value. |
| ReceiverStatistics sdrforge.adsb.receiver_session.AdsbReceiverSession.statistics | ( | self, | |
| float | now ) |
Handle statistics.
| self | The current instance. |
| now | The now value. |
| int sdrforge.adsb.receiver_session.AdsbReceiverSession.crc_failures = 0 |
| int sdrforge.adsb.receiver_session.AdsbReceiverSession.frames_seen = 0 |
| int sdrforge.adsb.receiver_session.AdsbReceiverSession.frames_valid = 0 |
| sdrforge.adsb.receiver_session.AdsbReceiverSession.tracker = AircraftTracker(ttl_seconds=ttl_seconds) |
| int sdrforge.adsb.receiver_session.AdsbReceiverSession.unsupported_frames = 0 |