STK AviatorSend comments on this topic.
IAgAvtrBasicManeuverAirspeedOptions Interface

Description

Interface used to access airspeed options for basic maneuver strategies.

Public Properties

Public Property AccelGGets or sets the accel G for the Accelerate at mode.
Public Property AccelModeGets or sets the accel mode for the Accelerate at mode.
Public Property AirspeedModeGets or sets the active airspeed mode.
Public Property DecelGGets or sets the decel G for the Decelerate at mode.
Public Property DecelModeGets or sets the accel mode for the Decelerate at mode.
Public Property InterpolateEndGGets or sets the end G for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateEndTimeGets or sets the end time for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateInitGGets or sets the initial G for the Interpolate Accel/Decel over Interval mode.
Public Property InterpolateStopAtEndTimeGets or sets the option to stop at the end time for the Interpolate Accel/Decel over Interval mode.
Public Property MaintainAirspeedTypeGets or sets the airspeed type option in the Maintain Current Airspeed mode.
Public Property MaxSpeedLimitsGets or sets the maximum speed limit type to enforce.
Public Property MinSpeedLimitsGets or sets the minimum speed limit type to enforce.
Public Property SpecifiedAccelDecelGGets or sets the accel/decel G for the Maintain Specified Airspeed mode.
Public Property SpecifiedAccelDecelModeGets or sets the accel/decel mode for the Maintain Specified Airspeed mode.
Public Property SpecifiedAirspeedGets or sets the airspeed for the Maintain Specified Airspeed mode.
Public Property SpecifiedAirspeedTypeGets or sets the airspeed type option in the Maintain Specified Airspeed mode.
Public Property ThrottleGets or sets the 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;


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.