public class RelativeTabulatedAttitudeLaw extends Object implements AttitudeLaw
ConstantAttitudeLaw, or an ExtrapolatedAttitudeLaw (private class)| Modifier and Type | Class and Description |
|---|---|
static class |
RelativeTabulatedAttitudeLaw.AroundAttitudeType
Enumeration of the existing constraint types
|
| Constructor and Description |
|---|
RelativeTabulatedAttitudeLaw(AbsoluteDate refDate,
List<Pair<Double,AngularCoordinates>> angularCoordinates,
Frame frame,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter)
Create a RelativeTabulatedAttitudeLaw object with list of Angular Coordinates (during the interval of validity),
a law before the interval and a law after the interval.
|
RelativeTabulatedAttitudeLaw(Frame frame,
AbsoluteDate refDate,
List<Pair<Double,Rotation>> orientations,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore,
RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter)
Create a RelativeTabulatedAttitudeLaw object with list of rotations (during the interval of validity),
a law before the interval and a law after the interval.
|
| Modifier and Type | Method and Description |
|---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomputeSpinByFD, computeSpinDerivativeByFD, getAttitudepublic RelativeTabulatedAttitudeLaw(Frame frame, AbsoluteDate refDate, List<Pair<Double,Rotation>> orientations, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter) throws PatriusException
refDate - reference dateorientations - List of rotationsframe - reference framelawBefore - Attitude law used before the reference datelawAfter - Attitude law used after the date corresponding to the last attitudePatriusException - if not enough data for Hermite interpolationpublic RelativeTabulatedAttitudeLaw(AbsoluteDate refDate, List<Pair<Double,AngularCoordinates>> angularCoordinates, Frame frame, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawBefore, RelativeTabulatedAttitudeLaw.AroundAttitudeType lawAfter) throws PatriusException
refDate - reference dateangularCoordinates - List of angular coordinatesframe - reference framelawBefore - Attitude law used before the reference datelawAfter - Attitude law used after the date corresponding to the last attitudePatriusException - if not enough data for Hermite interpolationpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computed for provided datepublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
setSpinDerivativesComputation in interface AttitudeProvidercomputeSpinDerivatives - true if spin derivatives should be computedCopyright © 2025 CNES. All rights reserved.