Important Information für Mission Builders and Virtual Pilots:
It is vital for accurate navigation that Mission Builders have an estimate of the ground speed that will be achieved during each leg of a flight. The Full Mission Builder (FMB) provides the following function for this purpose:
double resultant = AiAircraft.getParameter(part.ParameterTypes.Z_Velo city TAS, -1);
Where subtype <-1> returns the resultant as current Ground Speed in metres per second.
The impact of wind speed on ground speed is obvious but wind direction is equally important. There are two situations to be considered:
- The wind direction changes (either with altitude or with the position)
- The wind direction remains the same but the aircraft heading changes. As a result, the crosswind and headwind/tailwind component also change, impacting the groundspeed.
If you want to get the True Airspeed, I strongly recommend using the following function:
double resultant = AiAircraft.getParameter(part.ParameterTypes.Z_Velo city IAS, -1)
Where subtype <-1> returns the resultant as current True Airspeed in metres per second [m/s].