Jump to content
Sign in to follow this  
Erdem Eskioglu

Detecting the position of aircraft on runway

Recommended Posts

Hi all,I am writing a Flight Data Recorder for FS9 and I need to know if the user aircraft is in runway or not.I got all the information of runways out of FS with MakeRwys.But I don't know how to use these data.How should I write an equation which could tell me if the aircraft is on runway or not?P.S: I am using VB.NET.Thank You,

Share this post


Link to post
Share on other sites
Guest N6722c
Hi all,I am writing a Flight Data Recorder for FS9 and I need to know if the user aircraft is in runway or not.I got all the information of runways out of FS with MakeRwys.But I don't know how to use these data.How should I write an equation which could tell me if the aircraft is on runway or not?P.S: I am using VB.NET.Thank You,
Should not be too difficult -- far eaier than Taxiways, as runways are STRAIGHT and rectangular.Given the Co-ordinates of the runway, and the coordinates of the plane, it should be easy enough to make a simple boolen function -- just some basic Trig.onrunway(runway coordinates, plane coordinates)or, one that returned the runwayrunway = onrunway (plane coordinates)where the function gets the NEAREST airport to the plane, and then checks to see if the plane is on any of that airports runways), returing the runway, or say -1 if not on any runway at that airport.Depends what you want.... the ON RUNWAY trig is a lot easier tha the rest of the task.Can be done ... see http://fs-mp.com/oshkosh/info/In real time, this displays the Runway Activity of planes on the FS-MP Multiplayer server, on two runways at KOSH (Oshkosh)Geoff PS: Also a nice example of using XSL to display some XML data, on a webpage. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...