And some more cleanup.
This commit is contained in:
parent
0824fe68f3
commit
9a19c238a9
1 changed files with 2 additions and 2 deletions
|
@ -347,9 +347,9 @@ void FGAIFlightPlan::createTakeOff(FGAIAircraft *ac, bool firstFlight, FGAirport
|
||||||
// dT = dT / Acceleration
|
// dT = dT / Acceleration
|
||||||
//d = (Vf^2 - Vo^2) / (2*a)
|
//d = (Vf^2 - Vo^2) / (2*a)
|
||||||
double accelTime = (vRotate - 15) / accel;
|
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);
|
double accelDistance = (vRotate*vRotate - 15*15) / (2*accel);
|
||||||
cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
|
//cerr << "Using " << accelDistance << " " << accel << " " << vRotate << endl;
|
||||||
waypoint *wpt;
|
waypoint *wpt;
|
||||||
// Get the current active runway, based on code from David Luff
|
// Get the current active runway, based on code from David Luff
|
||||||
// This should actually be unified and extended to include
|
// This should actually be unified and extended to include
|
||||||
|
|
Loading…
Add table
Reference in a new issue