AGI STK Astrogator 11 Send comments on this topic.
IAgVAMCSManeuver Interface
Windows






Windows & Linux

Description

General properties for a Maneuver segment.

Object Model


Public Methods

Public Method DisableControlParameterDisables the specified control parameter.
Public Method EnableControlParameterEnables the specified control parameter.
Public Method IsControlParameterEnabledSees if the specified control is enabled.
Public Method SetManeuverTypeSets the maneuver type

Public Properties

Public Property ControlParametersAvailableReturns whether or not the control parameters can be set.
Public Property ManeuverThe Maneuver properties.
Public Property ManeuverTypeThe maneuver type.

Example

Configure maneuver segment
[C#]Copy Code
// Add launch sequence and retrieve the IAgVAMCSManeuver interface 
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeManeuver, "MyManeuver""-"); 
IAgVAMCSManeuver maneuver = segment as IAgVAMCSManeuver; 
 
// Set Maneuver to Impulsive 
maneuver.SetManeuverType(AgEVAManeuverType.eVAManeuverTypeImpulsive); 
IAgVAManeuverImpulsive impulse = maneuver.Maneuver as IAgVAManeuverImpulsive; 
 
// Set Impulsive attitude to VelocityVector 
impulse.SetAttitudeControlType(AgEVAAttitudeControl.eVAAttitudeControlVelocityVector); 
IAgVAAttitudeControlImpulsiveVelocityVector velVec = impulse.AttitudeControl as IAgVAAttitudeControlImpulsiveVelocityVector; 
velVec.DeltaVMagnitude = 1.0
 
impulse.SetPropulsionMethod(AgEVAPropulsionMethod.eVAPropulsionMethodThrusterSet, "Thruster Set"); 
impulse.UpdateMass = true
 

Configure maneuver segment
[Visual Basic .NET]Copy Code
' Add launch sequence and retrieve the IAgVAMCSManeuver interface
Dim segment As IAgVAMCSSegment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeManeuver, "MyManeuver", "-")
Dim maneuver As IAgVAMCSManeuver = TryCast(segment, IAgVAMCSManeuver)

' Set Maneuver to Impulsive
maneuver.SetManeuverType(AgEVAManeuverType.eVAManeuverTypeImpulsive)
Dim impulse As IAgVAManeuverImpulsive = TryCast(maneuver.Maneuver, IAgVAManeuverImpulsive)

' Set Impulsive attitude to VelocityVector
impulse.SetAttitudeControlType(AgEVAAttitudeControl.eVAAttitudeControlVelocityVector)
Dim velVec As IAgVAAttitudeControlImpulsiveVelocityVector = TryCast(impulse.AttitudeControl, IAgVAAttitudeControlImpulsiveVelocityVector)
velVec.DeltaVMagnitude = 1

impulse.SetPropulsionMethod(AgEVAPropulsionMethod.eVAPropulsionMethodThrusterSet, "Thruster Set")
impulse.UpdateMass = True

CoClasses that Implement IAgVAMCSManeuver

© 2018 Analytical Graphics, Inc. All Rights Reserved.