public class AttitudeInterpolator extends AbstractTimeInterpolator<Attitude>
The type of interpolation used is defined by given time stamped angular coordinates interpolator at construction.
TimeStampedAngularCoordinates,
TimeInterpolatorAbstractTimeInterpolator.InterpolationDataDEFAULT_EXTRAPOLATION_THRESHOLD_SEC, DEFAULT_INTERPOLATION_POINTS| Constructor and Description |
|---|
AttitudeInterpolator(Frame referenceFrame,
TimeInterpolator<TimeStampedAngularCoordinates> interpolator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TimeInterpolator<TimeStampedAngularCoordinates> |
getAngularInterpolator()
Get time stamped angular coordinates interpolator.
|
Frame |
getReferenceFrame()
Get reference frame from which attitude is defined.
|
protected Attitude |
interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
Interpolate instance from given interpolation data.
|
addOptionalSubInterpolatorIfDefined, checkInterpolatorCompatibilityWithSampleSize, getExtrapolationThreshold, getNbInterpolationPoints, getSubInterpolators, getTimeParameter, interpolate, interpolatepublic AttitudeInterpolator(Frame referenceFrame, TimeInterpolator<TimeStampedAngularCoordinates> interpolator)
referenceFrame - reference frame from which attitude is definedinterpolator - time stamped angular coordinates interpolatorpublic Frame getReferenceFrame()
public TimeInterpolator<TimeStampedAngularCoordinates> getAngularInterpolator()
protected Attitude interpolate(AbstractTimeInterpolator.InterpolationData interpolationData)
interpolate in class AbstractTimeInterpolator<Attitude>interpolationData - interpolation dataCopyright © 2002-2023 CS GROUP. All rights reserved.