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





Description

Look ahead and look behind duration options.

Public Properties

Public Property LookAhead Look ahead duration: STK calculates attitude at a future point in time defined by adding the look ahead duration to the time of the most current data point. Uses Time Dimension. Valid value is between 1.0 and 1000000.0 seconds.
Public Property LookBehind Look behind duration: specifies how long the temporary data points are to be stored by subtracting the look behind duration from the time of the most current data point. Uses Time Dimension.

Example

Configure real-time attitude
[C#] Copy Code
// set attitude type to real time 
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeRealTime); 
IAgVeAttitudeRealTime realtime = satellite.Attitude as IAgVeAttitudeRealTime; 
 
// Set our Attitude Look Ahead method to Extrapolate 
realtime.LookAheadMethod = AgEVeLookAheadMethod.eExtrapolate; 
 
// Duration 
IAgVeDuration duration = realtime.Duration; 
duration.LookAhead = 1600.0
duration.LookBehind = 1600.0
 
// BlockFactor 
realtime.BlockFactor = 40
realtime.DataReference.SetProfileType(AgEVeProfile.eProfileInertiallyFixed); 
 

Configure real-time attitude
[Visual Basic .NET] Copy Code
' set attitude type to real time
satellite.SetAttitudeType(AgEVeAttitude.eAttitudeRealTime)
Dim realtime As IAgVeAttitudeRealTime = TryCast(satellite.Attitude, IAgVeAttitudeRealTime)

' Set our Attitude Look Ahead method to Extrapolate
realtime.LookAheadMethod = AgEVeLookAheadMethod.eExtrapolate

' Duration
Dim duration As IAgVeDuration = realtime.Duration
duration.LookAhead = 1600
duration.LookBehind = 1600

' BlockFactor
realtime.BlockFactor = 40
realtime.DataReference.SetProfileType(AgEVeProfile.eProfileInertiallyFixed)

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1