public class ConstantAttitudeLaw extends AbstractAttitudeLaw
Instances of this class are guaranteed to be immutable.
Constructor and Description |
---|
ConstantAttitudeLaw(Frame referenceFrameIn,
Rotation rotationIn)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Frame |
getReferenceFrame()
Getter for the reference frame.
|
Rotation |
getRotation()
Getter for the rotation from reference frame to satellite frame.
|
String |
toString() |
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic Frame getReferenceFrame()
public Rotation getRotation()
Copyright © 2018 CNES. All Rights Reserved.