org.orekit.attitudes
Class FixedRate

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.FixedRate
All Implemented Interfaces:
Serializable, AttitudeLaw, AttitudeProvider

public class FixedRate
extends AbstractAttitudeLaw

This class handles a simple attitude provider at constant rate around a fixed axis.

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.

Author:
Luc Maisonobe
See Also:
Serialized Form

Constructor Summary
FixedRate(Attitude pReferenceAttitude)
          Creates a new instance.
 
Method Summary
 Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
          Compute the attitude corresponding to an orbital state.
 Attitude getReferenceAttitude()
          Get the reference attitude.
 
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedRate

public FixedRate(Attitude pReferenceAttitude)
Creates a new instance.

Parameters:
pReferenceAttitude - attitude at reference date
Method Detail

getAttitude

public Attitude getAttitude(PVCoordinatesProvider pvProv,
                            AbsoluteDate date,
                            Frame frame)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Parameters:
pvProv - local position-velocity provider around current date
date - current date
frame - reference frame from which attitude is computed
Returns:
attitude attitude on the specified date and position-velocity state
Throws:
OrekitException - if attitude cannot be computed

getReferenceAttitude

public final Attitude getReferenceAttitude()
Get the reference attitude.

Returns:
reference attitude


Copyright © 2017 CNES. All Rights Reserved.