double heading, lat, lon;
aAirport->getDynamics()->getParking(gateId, &lat, &lon, &heading);
wpt =
- createOnGround(ac, "END", SGGeod::fromDeg(lon, lat), airportElev,
+ createOnGround(ac, "ENDtaxi", SGGeod::fromDeg(lon, lat), airportElev,
ac->getPerformance()->vTaxi());
pushBackWaypoint(wpt);
}
}*/
double rolloutDistance =
(vTouchdownMetric * vTouchdownMetric - vTaxiMetric * vTaxiMetric) / (2 * decelMetric);
- cerr << " touchdown speed = " << vTouchdown << ". Rollout distance " << rolloutDistance << endl;
+ //cerr << " touchdown speed = " << vTouchdown << ". Rollout distance " << rolloutDistance << endl;
int nPoints = 50;
for (int i = 1; i < nPoints; i++) {
snprintf(buffer, 12, "landing03%d", i);
pushBackWaypoint(wpt);
}
}
- cerr << "Done. " << endl;
+ //cerr << "Done. " << endl;
/*
//Runway Threshold
pushBackWaypoint(wpt);
wpt =
- createOnGround(ac, "END", SGGeod::fromDeg(lon, lat), aptElev,
+ createOnGround(ac, "END-Parking", SGGeod::fromDeg(lon, lat), aptElev,
vTaxiReduced);
pushBackWaypoint(wpt);
return true;