Package gaiasky.util.gaia
Class TransitionScanningLaw
java.lang.Object
gaiasky.util.gaia.BaseAttitudeDataServer<IAttitude>
gaiasky.util.gaia.AnalyticalAttitudeDataServer
gaiasky.util.gaia.TransitionScanningLaw
-
Field Summary
Modifier and TypeFieldDescriptionprotected double
protected double
Relative tolerance for exceeding the rampprotected double
protected double
protected double
protected double
protected double
protected Duration
Fields inherited from class gaiasky.util.gaia.AnalyticalAttitudeDataServer
ARCSEC_PER_S_TO_DEG_PER_DAY, FOUR_PI, nslSun, OBLIQUITY_DEG, OBLIQUITY_RAD, PI, PI_HALF, targetScanPeriod, TWO_PI, X_AXIS, Y_AXIS, Z_AXIS
Fields inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
initialized, initialRequestedTimeContext, nativeTimeContext, withUncertaintiesCorrelations
-
Constructor Summary
ConstructorDescriptionThe constructor is the only way to set the duration of the ramp -
Method Summary
Modifier and TypeMethodDescriptiongetAttitudeNative
(long time) Evaluate the attitude in the native time system of the servergetMode()
Return the Epsl.Mode (preceding or following)Return the duration of the rampvoid
Initialization mainly calculates the acceleration required for the specified rampPreferred method to set the Epsl.Mode (it can also be set using setNuRef)Methods inherited from class gaiasky.util.gaia.AnalyticalAttitudeDataServer
getNominalSunVector, getNuRef, getOmegaRef, getRefTime, getTargetPrecessionRate, getTargetScanPeriod, getTargetScanRate, getXiRef, inGap, setDefault, setNuRef, setOmegaRef, setRefTime, setTargetPrecessionRate, setTargetScanPeriod, setTargetScanRate, setXiRef
Methods inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
getAttitude, getAttitude, isInitialized, setInitialized
-
Field Details
-
ramp
-
acc
protected double acc -
om0
protected double om0 -
om1
protected double om1 -
om2
protected double om2 -
om3
protected double om3 -
om4
protected double om4 -
eps
protected double epsRelative tolerance for exceeding the ramp
-
-
Constructor Details
-
TransitionScanningLaw
The constructor is the only way to set the duration of the ramp- Parameters:
ramp
-
-
-
Method Details
-
getMode
Return the Epsl.Mode (preceding or following)- Returns:
- The mode
-
setMode
Preferred method to set the Epsl.Mode (it can also be set using setNuRef)- Parameters:
mode
- EPSL preceding or following- Returns:
- This object with the right mode set
-
getRampDuration
Return the duration of the ramp -
initialize
public void initialize()Initialization mainly calculates the acceleration required for the specified ramp -
getAttitudeNative
Description copied from class:BaseAttitudeDataServer
Evaluate the attitude in the native time system of the server- Specified by:
getAttitudeNative
in classBaseAttitudeDataServer<IAttitude>
- Parameters:
time
- - the time elapsed since the epoch of J2010 in ns (TCB)- Returns:
- attitude for the given time
- See Also:
-