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(Orbit orbit)
Compute the attitude corresponding to an orbital state.
|
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.
|
public 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 AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic Attitude getAttitude(Orbit orbit) throws PatriusException
getAttitude
in interface AttitudeProvider
orbit
- current orbitPatriusException
- if attitude cannot be computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
setSpinDerivativesComputation
in interface AttitudeProvider
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedCopyright © 2017 CNES. All rights reserved.