Description
Properties for a Propagate segment.
Public Methods
Public Properties
Interfaces
CoClasses that Implement IAgVAMCSPropagate
Example
Configure propagate segment
[C#] |
---|
// Add a propagate segment to our sequence
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate, "Propagate", "-");
IAgVAMCSPropagate propagate = segment as IAgVAMCSPropagate;
propagate.PropagatorName = "Earth Point Mass";
// Configure propagtor advanced properties
propagate.MinPropagationTime = 0;
propagate.EnableMaxPropagationTime = true;
propagate.MaxPropagationTime = 72000000;
propagate.EnableWarningMessage = true;
// Configure stopping conditions
IAgVAStoppingCondition duration = propagate.StoppingConditions["Duration"].Properties as IAgVAStoppingCondition;
duration.Trip = 7200;
duration.Tolerance = 0.00001;
// Add any addition stopping conditions
IAgVAStoppingCondition lightning = propagate.StoppingConditions.Add("Lighting") as IAgVAStoppingCondition;
|
|
Configure propagate segment
[Visual Basic .NET] |
---|
' Add a propagate segment to our sequence
Dim segment As IAgVAMCSSegment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate, "Propagate", "-")
Dim propagate As IAgVAMCSPropagate = TryCast(segment, IAgVAMCSPropagate)
propagate.PropagatorName = "Earth Point Mass"
' Configure propagtor advanced properties
propagate.MinPropagationTime = 0
propagate.EnableMaxPropagationTime = True
propagate.MaxPropagationTime = 72000000
propagate.EnableWarningMessage = True
' Configure stopping conditions
Dim duration As IAgVAStoppingCondition = TryCast(propagate.StoppingConditions("Duration").Properties, IAgVAStoppingCondition)
duration.Trip = 7200
duration.Tolerance = 1E-05
' Add any addition stopping conditions
Dim lightning As IAgVAStoppingCondition = TryCast(propagate.StoppingConditions.Add("Lighting"), IAgVAStoppingCondition)
|
|
Insert a Propagate State Segment into the MCS and configure
[MATLAB] |
---|
% IAgVADriverMCS driver: MCS driver interface
propagate = driver.MainSequence.Insert('eVASegmentTypePropagate', 'Propagate', '-');
propagate.PropagatorName = 'Earth Point Mass';
propagate.Properties.Color = 16711680; % Blue
propagate.StoppingConditions.Item('Duration').Properties.Trip = 7200;
|
|
Insert a Propagate State Segment into the MCS and Add/Remove Stopping Conditions
[MATLAB] |
---|
% IAgVADriverMCS driver: MCS driver interface
transferEllipse = driver.MainSequence.Insert('eVASegmentTypePropagate', 'Transfer Ellipse', '-');
transferEllipse.Properties.Color = 255; % Red
transferEllipse.PropagatorName = 'Earth Point Mass';
transferEllipse.StoppingConditions.Add('Apoapsis');
transferEllipse.StoppingConditions.Remove('Duration');
|
|