Browse Source

Fix formatting according to Markdown Style Guide

pull/2/head
Jack Sweeney 4 years ago committed by GitHub
parent
commit
42a86e1f4e
  1. 2
      AppendAirport.py
  2. 1
      PseudoCode.md
  3. 5
      README.md

2
AppendAirport.py

@ -21,7 +21,7 @@ def append_airport(filename, icao, airport, distance_mi):
distance_km = distance_mi * 1.609
# create Image object with the input image
image = Image.open(filename)
# initialise the drawing context with

1
PseudoCode.md

@ -1,7 +1,6 @@
### How It works
- Takes data about every ~30 seconds from OpenSky Network or ADS-B Exchange and compares it to previous data with what I've defined as a landing or takeoff event.
- A takeoff event is the plane is not on the ground, below 10k feet and ((previously no data and now getting data) or was previously on the ground).
- A landing event is previously below 10k feet and (previously getting data, no longer getting data and previously not on the ground) or (now on the ground and previously not on the ground).
- Given the coordinates of the aircraft the coordinates are reverse looked up for a location name. (GeoPY Nomination Geolocator)
- At the time of takeoff a takeoff time is set, which is referenced in the landing event to calculate approximate total flight time.

5
README.md

@ -105,7 +105,8 @@ cd plane-notify
### Configure individual planes
#### an example file is given (plane1.ini) Plane config files should be in the configs directory, the program looks for any file in that folder with a .ini exstenstion.
- an example file is given (plane1.ini) plane config files should be in the configs directory, the program looks for any file in that folder with a .ini exstenstion.
- each plane should have its own config
### Enter and create new Screen Session
@ -125,4 +126,4 @@ python3 NotifyBotMulti.py
- Add ADSBX V2 use (not really possible unless theyd give me access, luckly if we get to keep V1 use ADSBX may be taking away Free API apparently, THANKS ALOT)
- Get rid of landing/takeoff by data loss/aqquision instead use to last contact timeout for landing.
### [ More Refrences / Documentation](Refrences.md)
### [More Refrences/Documentation](Refrences.md)

Loading…
Cancel
Save