Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

 

When using the built-in move aircraft method for a runway, users are reporting that it is putting the aircraft to the left or right of the centerline, not directly on the centerline. This is also reported by Vatsim ATC as well. Here is a little sample of how we use the MoveAircraftHere method for a runway. Is there a way to get i to put us on the centerline of the runway? Users are also reporting that it puts them in a strange location on the runway such as a taxiway or not on the lineup or holding point.

 

                if(row is RunwayDataGridRow runwayData)
{
    var airport = FSUIPCConnection.AirportsDatabase.Airports[airportIcaoTextBox.Text.ToUpper()];
    airport.LoadComponents(AirportComponents.Runways);
    var runway = airport.Runways[runwayData.ID.ToString()];
                        runway.MoveAircraftHere(false);
    this.Close();                   
}
 

Posted

Hi Andy,

When you call MoveAircraftToHere() the DLL moves it to whatever position is set in the StartLocation property of the FsRunway object.

That comes from the MakeRunways file called Runways.xml. Within each <Runway> tag is <FSStartLat> and <FSStartLon>.

If this file doesn't have the correct location for the start of the runway then there's nothing I can do to fix it.

On my system (FS9) this location is correct and so I always get set up on the center line.

Make sure your users have run MakeRunways and rebuilt their airports database recently. If it's out-of-date then the data will not line up with any new scenery they've installed.

Is it okay on your system?

Paul

Posted

Yes, it works just fine in my setup. My aircraft heading and the runway heading might be off by a degree or so, but I never ran off the runway like that. One of my staff members reported some time ago that he used our app to reposition to the runway, attempted o takeoff, and crashed into something. When he reloaded and used GSX or another app to reposition to the runway, he didn't crash.

 

Nobody can confirm if it is because make runways data is bad, because our app rounds headings to the nearest degree, or both, but I guess it is a problem. I can't even confirm if our app is to blame for his crash or many of our users getting placed off the centerline.

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.