Description
Look ahead and look behind duration options.
Public Properties
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. |
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#] |
---|
// 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] |
---|
' 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)
|
|