break;
default:
//exit(1);
- SG_LOG(SG_INPUT, SG_ALERT,
+ SG_LOG(SG_AI, SG_ALERT,
"AIFlightPlan::create() attempting to create unknown leg"
" this is probably an internal program error");
}
&heading, &gateId,
radius, fltType,
acType, airline))) {
- SG_LOG(SG_INPUT, SG_WARN, "Could not find parking for a " <<
+ SG_LOG(SG_AI, SG_WARN, "Could not find parking for a " <<
acType <<
" of flight type " << fltType <<
" of airline " << airline <<
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);
}
FGAIWaypoint *wpt;
- double aptElev = apt->getElevation();
+ //double aptElev = apt->getElevation();
double currElev = 0;
char buffer[12];
FGRunway * rwy = apt->getRunwayByIdent(activeRunway);
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;