From 60322146d24e6da022de957f31c8f1c8a031883a Mon Sep 17 00:00:00 2001 From: Jack Sweeney Date: Sat, 21 Nov 2020 18:07:18 +0000 Subject: [PATCH] Fix formatting according to Markdown Style Guide --- AppendAirport.py | 2 +- PseudoCode.md | 1 - README.md | 5 +++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/AppendAirport.py b/AppendAirport.py index fa540af..04bc30f 100644 --- a/AppendAirport.py +++ b/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 diff --git a/PseudoCode.md b/PseudoCode.md index 5c4fc6d..3a13683 100644 --- a/PseudoCode.md +++ b/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. diff --git a/README.md b/README.md index e6d8e33..546acd7 100644 --- a/README.md +++ b/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)