STK AviatorSend comments on this topic.
IAgAvtrProcedureBasicManeuver Interface

Description

Interface used to access the options for a Basic Maneuver procedure.

Public Methods

Public Method GetAsProcedureGet the procedure interface.

Public Properties

Public Property AltitudeLimitModeGet the altitude limit mode.
Public Property AttitudeBlendTimeGets or sets the amount of time that the aircraft will spend transitioning from the attitude of the previous maneuver to the attitude at the beginning of the current maneuver.
Public Property ControlTimeConstantA smoothing constant for the performance of control surfaces.
Public Property FlightModeGets or sets the type of performance model that the aircraft will use to fly the maneuver.
Public Property FuelFlowTypeGets or sets the source used to calculate the fuel flow for the maneuver.
Public Property MaxDownrangeGet the max down range.
Public Property MaxTimeOfFlightGet the max time of flight.
Public Property NavigationGet the interface for the navigation strategy.
Public Property NavigationStrategyTypeGet the navigation strategy type.
Public Property OverrideFuelFlowValueGets or sets the value used for the Override Fuel Flow type. The fuel flow type must be set to Override to access this value.
Public Property ProfileGet the interface for the profile strategy.
Public Property ProfileStrategyTypeGet the profile strategy type.
Public Property ScaleFuelFlowOpt whether to scale the fuel flow based on the aircraft's actual attitude.
Public Property StopFuelStateGet the stop fuel state value.
Public Property TerrainImpactModeGet the terrain impact mode.
Public Property TerrainImpactTimeOffsetGet the terrain impact time offset.
Public Property UseMaxDownrangeGet whether to use max down range.
Public Property UseMaxTimeOfFlightGet whether to use max time of flight.
Public Property UseStopFuelStateGet whether to use stop fuel state.

Interfaces

Implemented Interface
IAgAvtrProcedure

CoClasses that Implement IAgAvtrProcedureBasicManeuver

Example

Add and configure a basic maneuver procedure
[C#]
// Add a basic maneuver procedure
IAgAvtrProcedureBasicManeuver basicManeuver = procedures.Add(AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcBasicManeuver) as IAgAvtrProcedureBasicManeuver;

// Set the navigation to use a Straight Ahead strategy
basicManeuver.NavigationStrategyType = "Straight Ahead";
// Get the options for the straight ahead strategy
IAgAvtrBasicManeuverStrategyStraightAhead straightAhead = basicManeuver.Navigation as IAgAvtrBasicManeuverStrategyStraightAhead;
// Opt to maintain course (as opposed to maintain heading)
straightAhead.ReferenceFrame = AgEAvtrStraightAheadRefFrame.eMaintainCourse;

// Set the profile to use a Autopilot - Vertical Plane strategy
basicManeuver.ProfileStrategyType = "Autopilot - Vertical Plane";
// Get the options for the profile strategy
IAgAvtrBasicManeuverStrategyAutopilotProf autopilot = basicManeuver.Profile as IAgAvtrBasicManeuverStrategyAutopilotProf;
// Opt to maintain the initial altitude
autopilot.AltitudeMode = AgEAvtrAutopilotAltitudeMode.eAutopilotHoldInitAltitude;
IAgAvtrBasicManeuverAirspeedOptions airspeedOptions = autopilot.AirspeedOptions;
// Opt to maintain a specified airspeed
airspeedOptions.AirspeedMode = AgEAvtrBasicManeuverAirspeedMode.eMaintainSpecifiedAirspeed;
// Specify the airspeed
airspeedOptions.SpecifiedAirspeed = 250;

// Configure the options on the Attitude / Performance / Fuel page
basicManeuver.FlightMode = AgEAvtrPhaseOfFlight.eFlightPhaseCruise;
// Override the fuel flow
basicManeuver.FuelFlowType = AgEAvtrBasicManeuverFuelFlowType.eBasicManeuverFuelFlowOverride;
basicManeuver.OverrideFuelFlowValue = 1000;

// Set the basic stopping conditions
basicManeuver.UseMaxDownrange = true;
basicManeuver.MaxDownrange = 10;
basicManeuver.UseStopFuelState = false;
basicManeuver.UseMaxTimeOfFlight = false;
Add and configure a basic maneuver procedure
[Visual Basic .NET]
' Add a basic maneuver procedure
Dim basicManeuver As IAgAvtrProcedureBasicManeuver = TryCast(procedures.Add(AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcBasicManeuver), IAgAvtrProcedureBasicManeuver)

' Set the navigation to use a Straight Ahead strategy
basicManeuver.NavigationStrategyType = "Straight Ahead"
' Get the options for the straight ahead strategy
Dim straightAhead As IAgAvtrBasicManeuverStrategyStraightAhead = TryCast(basicManeuver.Navigation, IAgAvtrBasicManeuverStrategyStraightAhead)
' Opt to maintain course (as opposed to maintain heading)
straightAhead.ReferenceFrame = AgEAvtrStraightAheadRefFrame.eMaintainCourse

' Set the profile to use a Autopilot - Vertical Plane strategy
basicManeuver.ProfileStrategyType = "Autopilot - Vertical Plane"
' Get the options for the profile strategy
Dim autopilot As IAgAvtrBasicManeuverStrategyAutopilotProf = TryCast(basicManeuver.Profile, IAgAvtrBasicManeuverStrategyAutopilotProf)
' Opt to maintain the initial altitude
autopilot.AltitudeMode = AgEAvtrAutopilotAltitudeMode.eAutopilotHoldInitAltitude
Dim airspeedOptions As IAgAvtrBasicManeuverAirspeedOptions = autopilot.AirspeedOptions
' Opt to maintain a specified airspeed
airspeedOptions.AirspeedMode = AgEAvtrBasicManeuverAirspeedMode.eMaintainSpecifiedAirspeed
' Specify the airspeed
airspeedOptions.SpecifiedAirspeed = 250

' Configure the options on the Attitude / Performance / Fuel page
basicManeuver.FlightMode = AgEAvtrPhaseOfFlight.eFlightPhaseCruise
' Override the fuel flow
basicManeuver.FuelFlowType = AgEAvtrBasicManeuverFuelFlowType.eBasicManeuverFuelFlowOverride
basicManeuver.OverrideFuelFlowValue = 1000

' Set the basic stopping conditions
basicManeuver.UseMaxDownrange = True
basicManeuver.MaxDownrange = 10
basicManeuver.UseStopFuelState = False
basicManeuver.UseMaxTimeOfFlight = False
Add and configure a basic maneuver procedure
[Python - STK API]
      # IAgAvtrProcedureCollection procedures: Procedure Collection object
# Add a basic maneuver procedure
basicManeuver = procedures.Add(AgEAvtrSiteType.eSiteEndOfPrevProcedure, AgEAvtrProcedureType.eProcBasicManeuver)

# Set the navigation to use a Straight Ahead strategy
basicManeuver.NavigationStrategyType = 'Straight Ahead'
# Get the options for the straight ahead strategy
straightAhead = basicManeuver.Navigation
# Opt to maintain course (as opposed to maintain heading)
straightAhead.ReferenceFrame = AgEAvtrStraightAheadRefFrame.eMaintainCourse

# Set the profile to use a Autopilot - Vertical Plane strategy
basicManeuver.ProfileStrategyType = 'Autopilot - Vertical Plane'
# Get the options for the profile strategy
autopilot = basicManeuver.Profile
# Opt to maintain the initial altitude
autopilot.AltitudeMode = AgEAvtrAutopilotAltitudeMode.eAutopilotHoldInitAltitude
airspeedOptions = autopilot.AirspeedOptions
# Opt to maintain a specified airspeed
airspeedOptions.AirspeedMode = AgEAvtrBasicManeuverAirspeedMode.eMaintainSpecifiedAirspeed
# Specify the airspeed
airspeedOptions.SpecifiedAirspeed = 250

# Configure the options on the Attitude / Performance / Fuel page
basicManeuver.FlightMode = AgEAvtrPhaseOfFlight.eFlightPhaseCruise
# Override the fuel flow
basicManeuver.FuelFlowType = AgEAvtrBasicManeuverFuelFlowType.eBasicManeuverFuelFlowOverride
basicManeuver.OverrideFuelFlowValue = 1000

# Set the basic stopping conditions
basicManeuver.UseMaxDownrange = True
basicManeuver.MaxDownrange = 10
basicManeuver.UseStopFuelState = False
basicManeuver.UseMaxTimeOfFlight = False

Add and configure a basic maneuver procedure
[MATLAB]
% IAgAvtrProcedureCollection procedures: Procedure Collection object
% Add a basic maneuver procedure
basicManeuver = procedures.Add('eSiteEndOfPrevProcedure', 'eProcBasicManeuver');

% Set the navigation to use a Straight Ahead strategy
basicManeuver.NavigationStrategyType = 'Straight Ahead';
% Get the options for the straight ahead strategy
straightAhead = basicManeuver.Navigation;
% Opt to maintain course (as opposed to maintain heading)
straightAhead.ReferenceFrame = 'eMaintainCourse';

% Set the profile to use a Autopilot - Vertical Plane strategy
basicManeuver.ProfileStrategyType = 'Autopilot - Vertical Plane';
% Get the options for the profile strategy
autopilot = basicManeuver.Profile;
% Opt to maintain the initial altitude
autopilot.AltitudeMode = 'eAutopilotHoldInitAltitude';
airspeedOptions = autopilot.AirspeedOptions;
% Opt to maintain a specified airspeed
airspeedOptions.AirspeedMode = 'eMaintainSpecifiedAirspeed';
% Specify the airspeed
airspeedOptions.SpecifiedAirspeed = 250;

% Configure the options on the Attitude / Performance / Fuel page
basicManeuver.FlightMode = 'eFlightPhaseCruise';
% Override the fuel flow
basicManeuver.FuelFlowType = 'eBasicManeuverFuelFlowOverride';
basicManeuver.OverrideFuelFlowValue = 1000;

% Set the basic stopping conditions
basicManeuver.UseMaxDownrange = 1;
basicManeuver.MaxDownrange = 10;
basicManeuver.UseStopFuelState = 0;
basicManeuver.UseMaxTimeOfFlight = 0;


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.