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





Description

General properties for a Maneuver segment.

Object Model


Public Methods

Public Method DisableControlParameter Disables the specified control parameter.
Public Method EnableControlParameter Enables the specified control parameter.
Public Method IsControlParameterEnabled Sees if the specified control is enabled.
Public Method SetManeuverType Sets the maneuver type

Public Properties

Public Property ControlParametersAvailable Returns whether or not the control parameters can be set.
Public Property Maneuver The Maneuver properties.
Public Property ManeuverType The 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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1