Skip to main content

Flight tracking resources

Project description

Flight Control

Flight Control is a python package for storing, tracking, and analyzing flight data. Example:

import flightcontrol
import time

#Create a new instance of the AltitudeLogger class
al = flightcontrol.AltitudeLogger()

#Simulate altitude changing
al.LogAltitude(50)
time.sleep(0.5)
al.LogAltitude(45)
time.sleep(0.5)
al.LogAltitude(40)
time.sleep(0.5)
al.LogAltitude(35)

#Get rate of change
roc = al.RateOfChange_cm_per_second()
print(roc)

#Get seconds until impact
#This will only return a value if the altitude is dropping
sui = al.SecondsUntilImpact()
print(sui)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flightcontrol-0.2.0.tar.gz (2.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page