Skip to content

dspreitz/OGN-Flight-Logger

 
 

Repository files navigation

OGN-Flight-Logger

Python APRS/OGN program to log flight times, durations and maximum heights achieved

This python program creates an SQlite db of flights from a given location and aircraft list (the later two parameters are to be be developed into a more generalised format).

At the moment this is very much 'in development'

To install OGN Flight Logger the following prerequisites are required

  • python-tz
  • sqlite3
  • libfap (Note this is the "C" library libfap, not the python module libfap.py)
  • ephem
  • goecoder
  • geopy

To run flogger first set up the parameters in settings.py then call 'flogger.py'. Flogger.py will run continuously (perhaps it should be a 'service'?) logging flights during day, ie between sunrise and sunset. After sunset it processes the days log to determine which log entries constitute actual flights and those which are ground movements etc. Once all the flights have been generated into the 'flights' table and the days flights dumped as a .csv file, flogger determines when the next sunrise time and sleeps until then, ie waits.

OGN-Flight-Logger must be called using: python flogger.py your_username your_passcode, where you_username and your_passcode can be created on http://http://www.george-smart.co.uk/wiki/APRS_Callpass If a valid username and passcode are not suppled it will exit immediately.

If installing on an arm based system this can be achieved by:

I'm currently developing and testing on

  • a Raspberry Pi P2 Model B under Rasparian (Debian Linux 7.8) and
  • a desktop running Kubuntu 14.04

About

Python APRS/OGN program to log flight times, durations and maximum heights achieved

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%