STK ObjectsSend comments on this topic.
IAgVePropagatorRealtime Interface

Description

Realtime propagator interface.

Public Methods

Public Method IsLookAheadPropagatorSupportedReturns whether the specified look ahead propagator is supported.
Public Method PropagateSet the vehicle's propagator to Realtime.

Public Properties

Public Property DurationGet look ahead/look behind duration values.
Public Property InterpolationOrderThe interpolation order. Dimensionless.
Public Property LookAheadPropagatorA name of the lookahead propagator.
Public Property PointBuilderGets a object to create ephemeris data for a vehicle by sending it point by point.
Public Property SupportedLookAheadPropagatorsReturns an array of supported lookahead propagators.
Public Property TimeoutGapSpecify the time after which look ahead values are considered to be \"stale\" (that is, the data has dropped out). Valid value is between 1.0 and 1000000.0 seconds.
Public Property TimeStepSpecify the interval between computed ephemeris output points. Valid value is between 0.1 and 9999.0 seconds.

Interfaces

Implemented Interface
IAgVePropagator

CoClasses that Implement IAgVePropagatorRealtime

Example

Set ground vehicle to use Realtime propagator
[C#]
// Set ground vehicle route to STK External propagator
groundVehicle.SetRouteType(AgEVePropagatorType.ePropagatorRealtime);

// Retrieve propagator interface if necessary
IAgVePropagatorRealtime propagator = groundVehicle.Route as IAgVePropagatorRealtime;
Set ship to use Realtime propagator
[C#]
// Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorRealtime);

// Retrieve propagator interface if necessary
IAgVePropagatorRealtime propagator = ship.Route as IAgVePropagatorRealtime;
Configure the Realtime propagator
[C#]
// Set Realtime Propagator settings if they should be other than
// the defaults.
propagator.InterpolationOrder = 1;
propagator.TimeoutGap = 30.0;
propagator.TimeStep = 60.0;

// Since we want to use the Two Body Look Ahead Propagator, check
// to see that it is supported before we set the Realtime Propagator
// to use this look ahead type
if (propagator.IsLookAheadPropagatorSupported(AgELookAheadPropagator.eLookAheadTwoBody))
{
    // Set the look ahead type
    propagator.LookAheadPropagator = AgELookAheadPropagator.eLookAheadTwoBody;

    // Set the duration time to look ahead and look behind
    IAgVeDuration duration = propagator.Duration;
    duration.LookAhead = 3600.0;
    duration.LookBehind = 3600.0;

    // Apply the Realtime Propagator settings
    propagator.Propagate();
}
Configure the Realtime propagator
[Visual Basic .NET]
' Set Realtime Propagator settings if they should be other than
' the defaults.
propagator.InterpolationOrder = 1
propagator.TimeoutGap = 30
propagator.TimeStep = 60

' Since we want to use the Two Body Look Ahead Propagator, check
' to see that it is supported before we set the Realtime Propagator
' to use this look ahead type
If propagator.IsLookAheadPropagatorSupported(AgELookAheadPropagator.eLookAheadTwoBody) Then
	' Set the look ahead type
	propagator.LookAheadPropagator = AgELookAheadPropagator.eLookAheadTwoBody

	' Set the duration time to look ahead and look behind
	Dim duration As IAgVeDuration = propagator.Duration
	duration.LookAhead = 3600
	duration.LookBehind = 3600

	' Apply the Realtime Propagator settings
	propagator.Propagate()
End If
Set ground vehicle to use Realtime propagator
[Visual Basic .NET]
' Set ground vehicle route to STK External propagator
groundVehicle.SetRouteType(AgEVePropagatorType.ePropagatorRealtime)

' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorRealtime = TryCast(groundVehicle.Route, IAgVePropagatorRealtime)
Set ship to use Realtime propagator
[Visual Basic .NET]
' Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorRealtime)

' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorRealtime = TryCast(ship.Route, IAgVePropagatorRealtime)
© 2024 Analytical Graphics, Inc. All Rights Reserved.