Skip to content

Instantly share code, notes, and snippets.

@kappuccino
Last active December 1, 2020 19:57
Show Gist options
  • Save kappuccino/9b68555b5e0c6d5cfb1b5c176811120e to your computer and use it in GitHub Desktop.
Save kappuccino/9b68555b5e0c6d5cfb1b5c176811120e to your computer and use it in GitHub Desktop.
/*
Voici les éléments que nous avons à notre disposition à chaque seconde :
Longitude: 18.04991 (tronqué ici, mais nous avons une précision plus importante comme source)
Latitude: 53.10279 (même remarque)
Heading: 261 deg (c'est le "true heading" et pas le "magnetic heading" info ici: https://airplaneacademy.com/whats-the-difference-between-true-and-magnetic-heading-explained/#:~:text=Magnetic%20heading%20is%20your%20direction,being%20hundreds%20of%20miles%20apart)
Altitude: 5042 ft (we are all english men here :)
Speed: 143.57 Kn (1 Kn = 1.852 km/h)
VSpeed: 126.68 f/m (pieds par minute)
Ce que nous cherche à trouver : La position suposée de l'avion 1s plus tard
Idéalement on voudrait pouvoir changer cette durée : quelle sera la position dans 3s ou dans 0.5s.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment