AGI STK Objects 11 Send comments on this topic.
IAgVePropagatorRealtime Interface





Description

Realtime propagator interface.

Object Model



Public Methods

Public Method IsLookAheadPropagatorSupported Returns whether the specified look ahead propagator is supported
Public Method Propagate Set the vehicle's propagator to Realtime.

Public Properties

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

Interfaces

Implemented Interface
IAgVePropagator

Example

Configure the Realtime propagator
[C#] Copy Code
// 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(); 

 

Set ground vehicle to use Realtime propagator
[C#] Copy Code
// 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#] Copy Code
// 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
[Visual Basic .NET] Copy Code
' 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] Copy Code
' 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] Copy Code
' Set ship route to STK External propagator
ship.SetRouteType(AgEVePropagatorType.ePropagatorRealtime)

' Retrieve propagator interface if necessary
Dim propagator As IAgVePropagatorRealtime = TryCast(ship.Route, IAgVePropagatorRealtime)

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1