STK AviatorSend comments on this topic.
IAgAvtrBasicManeuverAirspeedOptions Interface

Description

Interface used to access airspeed options for basic maneuver strategies.

Public Properties

Public Property AccelGThe accel G for the Accelerate at mode.
Public Property AccelModeThe accel mode for the Accelerate at mode.
Public Property AirspeedModeThe active airspeed mode.
Public Property DecelGThe decel G for the Decelerate at mode.
Public Property DecelModeThe accel mode for the Decelerate at mode.
Public Property InterpolateEndGThe end G for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateEndTimeThe end time for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateInitGThe initial G for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateStopAtEndTimeThe option to stop at the end time for the Interpolate Accel/Decel over Interval mode.
Public Property MaintainAirspeedTypeThe airspeed type option in the Maintain Current Airspeed mode.
Public Property MaxSpeedLimitsThe maximum speed limit type to enforce.
Public Property MinSpeedLimitsThe minimum speed limit type to enforce.
Public Property SpecifiedAccelDecelGThe accel/decel G for the Maintain Specified Airspeed mode.
Public Property SpecifiedAccelDecelModeThe accel/decel mode for the Maintain Specified Airspeed mode.
Public Property SpecifiedAirspeedThe airspeed for the Maintain Specified Airspeed mode.
Public Property SpecifiedAirspeedTypeThe airspeed type option in the Maintain Specified Airspeed mode.
Public Property ThrottleThe throttle setting for the Accel/Decel using Aero/Propulsion at mode.
Public Property ThrustGet the thrust options for the Specify Thrust mode.

CoClasses that Implement IAgAvtrBasicManeuverAirspeedOptions

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;


        
© 2023 Analytical Graphics, Inc. All Rights Reserved.