January 22, 200917 yr 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, Erdem Eskioğlu
January 28, 200917 yr 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. :)
Create an account or sign in to comment