martinohanlon / flightlight

A python 3 program for PiAware which turns on an LED when an aircraft is close

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository and project has now been archived and is no longer supported. The code will remain available for reference and information.

#Piaware Flight Light ##Martin O'Hanlon (martin@ohanlonweb.com) ##http://www.stuffaboutcode.com

##Description A python 3 program which will turn on an LED if an aircraft is detected overhead using PiAware

http://www.stuffaboutcode.com/2015/10/piaware-aircraft-overhead-led.html

##Structure

  • flightdata
    • flightdata.py - the flightdata python module
    • haversine.py - a module for calculating the distance between GPS coords
    • flightlight.py - main program
  • docs - about the project

##Usage

Launch the flightlight program passing the latitude (lat) and longitude (lon) of your PiAware station and the range that should be used to detect if an aircraft is overhead.

usage: flightlight.py [-h] lat lon range

##Version history

  • 0.1 - Initial stable version

About

A python 3 program for PiAware which turns on an LED when an aircraft is close

License:MIT License


Languages

Language:Python 98.0%Language:Shell 2.0%