junzis / pyModeS

Python decoder for Mode S and ADS-B signals
GNU General Public License v3.0
527 stars 151 forks source link

Timestamp format not clear #80

Closed SamMiddleton closed 3 years ago

SamMiddleton commented 3 years ago

Several position functions require timestamps to be provided and the documentation says these have type int, but I cannot find instructions on how to correctly turn the time the message was received into an int.

junzis commented 3 years ago

Those are simply referenced values. The newer message is expected to have a large timestamp value. For example, these would be the UNIX timestamps.