Description
Interface used to access the navigation options for an Aviator procedure.
Public Properties
ArriveOnCourse | Gets or sets the aircraft will start or arrive at the procedure site with the specified course. The nav mode must be set to Arrive on Course to set this value. |
EnrouteFirstTurn | Option for the first turn. |
EnrouteSecondTurn | Option for the second turn. |
NavMode | Gets or sets the navigation mode. |
UseMagneticHeading | Opt whether to use a magnetic heading to arrive on course. The nav mode must be set to Arrive on Course to set this value. |
CoClasses that Implement IAgAvtrNavigationOptions
Example
Add and configure an enroute procedure
[C#] |
---|
// Add an enroute procedure with a site type of End of Previous Procedure
IAgAvtrProcedureEnroute enroute = procedures.Add(AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcEnroute) as IAgAvtrProcedureEnroute;
//Get the altitude options
IAgAvtrAltitudeMSLAndLevelOffOptions altitudeOptions = enroute.AltitudeMSLOptions;
// To specify an altitude, turn off the option to use the default cruise altitude
altitudeOptions.UseDefaultCruiseAltitude = false;
// Set the altitude
altitudeOptions.MSLAltitude = 10000;
//Get the navigation options
IAgAvtrNavigationOptions navigationOptions = enroute.NavigationOptions;
// Set the route to arrive on a specified course
navigationOptions.NavMode = AgEAvtrPointToPointMode.eArriveOnCourse;
// Set the course
navigationOptions.ArriveOnCourse = 30;
// Use a magnetic heading
navigationOptions.UseMagneticHeading = true;
//Get the navigation options
IAgAvtrCruiseAirspeedOptions airspeedOptions = enroute.EnrouteCruiseAirspeedOptions;
// Fly at max speed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eMaxAirspeed;
// To specify an airspeed to fly at, set the speed type to other airspeed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eOtherAirspeed;
// Then set the airspeed and airspeed type
airspeedOptions.SetOtherAirspeed(AgEAvtrAirspeedType.eTAS, 200);
|
|
Add and configure an enroute procedure
[Visual Basic .NET] |
---|
' Add an enroute procedure with a site type of End of Previous Procedure
Dim enroute As IAgAvtrProcedureEnroute = TryCast(procedures.Add(AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcEnroute), IAgAvtrProcedureEnroute)
'Get the altitude options
Dim altitudeOptions As IAgAvtrAltitudeMSLAndLevelOffOptions = enroute.AltitudeMSLOptions
' To specify an altitude, turn off the option to use the default cruise altitude
altitudeOptions.UseDefaultCruiseAltitude = False
' Set the altitude
altitudeOptions.MSLAltitude = 10000
'Get the navigation options
Dim navigationOptions As IAgAvtrNavigationOptions = enroute.NavigationOptions
' Set the route to arrive on a specified course
navigationOptions.NavMode = AgEAvtrPointToPointMode.eArriveOnCourse
' Set the course
navigationOptions.ArriveOnCourse = 30
' Use a magnetic heading
navigationOptions.UseMagneticHeading = True
'Get the navigation options
Dim airspeedOptions As IAgAvtrCruiseAirspeedOptions = enroute.EnrouteCruiseAirspeedOptions
' Fly at max speed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eMaxAirspeed
' To specify an airspeed to fly at, set the speed type to other airspeed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eOtherAirspeed
' Then set the airspeed and airspeed type
airspeedOptions.SetOtherAirspeed(AgEAvtrAirspeedType.eTAS, 200)
|
|
Add and configure an enroute procedure
[Python - STK API] |
---|
# IAgAvtrProcedureCollection procedures: Procedure Collection object
# Add an enroute procedure with a site type of End of Previous Procedure
enroute = procedures.AddAtIndex(1, AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcEnroute)
# Get the altitude options
altitudeOptions = enroute.AltitudeMSLOptions
# To specify an altitude, turn off the option to use the default cruise altitude
altitudeOptions.UseDefaultCruiseAltitude = False
# Set the altitude
altitudeOptions.MSLAltitude = 10000
# Get the navigation options
navigationOptions = enroute.NavigationOptions
# Set the route to arrive on a specified course
navigationOptions.NavMode = AgEAvtrPointToPointMode.eArriveOnCourse
# Set the course
navigationOptions.ArriveOnCourse = 30
# Use a magnetic heading
navigationOptions.UseMagneticHeading = True
# Get the navigation options
airspeedOptions = enroute.EnrouteCruiseAirspeedOptions
# Fly at max speed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eMaxAirspeed
# To specify an airspeed to fly at, set the speed type to other airspeed
airspeedOptions.CruiseSpeedType = AgEAvtrCruiseSpeed.eOtherAirspeed
# Then set the airspeed and airspeed type
airspeedOptions.SetOtherAirspeed(AgEAvtrAirspeedType.eTAS, 200)
|
|
Add and configure an enroute procedure
[MATLAB] |
---|
% IAgAvtrProcedureCollection procedures: Procedure Collection object
% Add an enroute procedure with a site type of End of Previous Procedure
enroute = procedures.Add('eSiteEndOfPrevProcedure', 'eProcEnroute');
%Get the altitude options
altitudeOptions = enroute.AltitudeMSLOptions;
% To specify an altitude, turn off the option to use the default cruise altitude
altitudeOptions.UseDefaultCruiseAltitude = 0;
% Set the altitude
altitudeOptions.MSLAltitude = 10000;
%Get the navigation options
navigationOptions = enroute.NavigationOptions;
% Set the route to arrive on a specified course
navigationOptions.NavMode = 'eArriveOnCourse';
% Set the course
navigationOptions.ArriveOnCourse = 30;
% Use a magnetic heading
navigationOptions.UseMagneticHeading = 1;
%Get the navigation options
airspeedOptions = enroute.EnrouteCruiseAirspeedOptions;
% Fly at max speed
airspeedOptions.CruiseSpeedType = 'eMaxAirspeed';
% To specify an airspeed to fly at, set the speed type to other airspeed
airspeedOptions.CruiseSpeedType = 'eOtherAirspeed';
% Then set the airspeed and airspeed type
airspeedOptions.SetOtherAirspeed('eTAS', 200);
|
|