STK AstrogatorSend comments on this topic.
IAgVAMCSManeuver Interface

Description

General properties for a Maneuver segment.

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.

Interfaces

CoClasses that Implement IAgVAMCSManeuver

Example

Configure maneuver segment
[C#]
// 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]
' 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
© 2024 Analytical Graphics, Inc. All Rights Reserved.