Class HermiteInterpolatedAttitudeDataServer
java.lang.Object
gaiasky.util.gaia.BaseAttitudeDataServer<IAttitude>
gaiasky.util.gaia.NumericalAttitudeDataServer<IAttitude>
gaiasky.util.gaia.HermiteInterpolatedAttitudeDataServer
- Direct Known Subclasses:
MslAttitudeDataServer
public abstract class HermiteInterpolatedAttitudeDataServer
extends NumericalAttitudeDataServer<IAttitude>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected double[]protected double[]protected double[]protected double[]protected double[]protected double[]protected double[]protected long[]Fields inherited from class NumericalAttitudeDataServer
gtisFields inherited from class BaseAttitudeDataServer
initialized, initialRequestedTimeContext, nativeTimeContext, withUncertaintiesCorrelations -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHermiteInterpolatedAttitudeDataServer(long tStart, Duration tLength) Constructor for a given start time and mission length -
Method Summary
Modifier and TypeMethodDescriptiongetAttitudeNative(long t) Evaluate the attitude in the native time system of the serverabstract voidAny numerical attitude needs to be initializedMethods inherited from class NumericalAttitudeDataServer
getGtis, getStartTime, getStopTime, isValidMethods inherited from class BaseAttitudeDataServer
getAttitude, getAttitude, getAttitude, getRefTime, isInitialized, setInitialized, setRefTime
-
Field Details
-
nT
protected int nT -
tNs
protected long[] tNs -
qX
protected double[] qX -
qY
protected double[] qY -
qZ
protected double[] qZ -
qW
protected double[] qW -
rateX
protected double[] rateX -
rateY
protected double[] rateY -
rateZ
protected double[] rateZ
-
-
Constructor Details
-
HermiteInterpolatedAttitudeDataServer
Constructor for a given start time and mission length- Parameters:
tStart- start time of the valid attitude intervaltLength- length of the valid attitude interval
-
-
Method Details
-
initialize
Description copied from class:NumericalAttitudeDataServerAny numerical attitude needs to be initialized- Specified by:
initializein classNumericalAttitudeDataServer<IAttitude>- Throws:
RuntimeException- initialization fails- See Also:
-
getAttitudeNative
Description copied from class:BaseAttitudeDataServerEvaluate the attitude in the native time system of the server- Specified by:
getAttitudeNativein classBaseAttitudeDataServer<IAttitude>- Parameters:
t- - the time elapsed since the epoch of J2010 in ns (TCB)- Returns:
- attitude for the given time
- Throws:
RuntimeException- See Also:
-