Package gaiasky.util.gaia
Class HermiteInterpolatedAttitudeDataServer
java.lang.Object
gaiasky.util.gaia.BaseAttitudeDataServer<A>
gaiasky.util.gaia.NumericalAttitudeDataServer<IAttitude>
gaiasky.util.gaia.HermiteInterpolatedAttitudeDataServer
- Direct Known Subclasses:
MslAttitudeDataServer
public abstract class HermiteInterpolatedAttitudeDataServer
extends NumericalAttitudeDataServer<IAttitude>
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected double[]
protected double[]
protected double[]
protected double[]
protected double[]
protected double[]
protected double[]
protected long[]
Fields inherited from class gaiasky.util.gaia.NumericalAttitudeDataServer
gtis
Fields inherited from class gaiasky.util.gaia.BaseAttitudeDataServer
initialized, initialRequestedTimeContext, nativeTimeContext, withUncertaintiesCorrelations
-
Constructor Summary
ModifierConstructorDescriptionprotected
HermiteInterpolatedAttitudeDataServer
(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 void
Any numerical attitude needs to be initializedMethods inherited from class gaiasky.util.gaia.NumericalAttitudeDataServer
getGtis, getStartTime, getStopTime, isValid
Methods inherited from class gaiasky.util.gaia.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:NumericalAttitudeDataServer
Any numerical attitude needs to be initialized- Specified by:
initialize
in classNumericalAttitudeDataServer<IAttitude>
- Throws:
RuntimeException
- initialization fails- See Also:
-
getAttitudeNative
Description copied from class:BaseAttitudeDataServer
Evaluate the attitude in the native time system of the server- Specified by:
getAttitudeNative
in 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:
-