public class FixedRate extends AbstractAttitudeLaw
This attitude provider is a simple linear extrapolation from an initial orientation, a rotation axis and a rotation
rate. All this elements can be specified as a simple reference attitude
.
Instances of this class are guaranteed to be immutable.
Constructor and Description |
---|
FixedRate(Attitude pReferenceAttitude)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
Attitude |
getReferenceAttitude()
Get the reference attitude.
|
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public FixedRate(Attitude pReferenceAttitude)
pReferenceAttitude
- attitude at reference datepublic 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 computed for provided datepublic final Attitude getReferenceAttitude()
Copyright © 2023 CNES. All rights reserved.