Description
Realtime propagator interface.
Public Methods
Public Properties
Duration | Get look ahead/look behind duration values |
InterpolationOrder | The interpolation order. Dimensionless. |
LookAheadPropagator | A name of the lookahead propagator. |
PointBuilder | Gets a object to create ephemeris data for a vehicle by sending it point by point. |
SupportedLookAheadPropagators | Returns an array of supported lookahead propagators |
TimeoutGap | Specify 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. |
TimeStep | Specify the interval between computed ephemeris output points. Valid value is between 0.1 and 9999.0 seconds. |
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)
|
|