1
0
Fork 0

And some more cleanup.

This commit is contained in:
durk 2009-01-30 21:15:48 +00:00 committed by Tim Moore
parent 0824fe68f3
commit 9a19c238a9

View file

@ -347,9 +347,9 @@ void FGAIFlightPlan::createTakeOff(FGAIAircraft *ac, bool firstFlight, FGAirport
// dT = dT / Acceleration
//d = (Vf^2 - Vo^2) / (2*a)
double accelTime = (vRotate - 15) / accel;
cerr << "Using " << accelTime << " as total acceleration time" << endl;
//cerr << "Using " << accelTime << " as total acceleration time" << endl;
double accelDistance = (vRotate*vRotate - 15*15) / (2*accel);
cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
//cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
waypoint *wpt;
// Get the current active runway, based on code from David Luff
// This should actually be unified and extended to include