org.orekit.attitudes
Class FixedRate

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

public class FixedRate
extends java.lang.Object
implements AttitudeLaw

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

This attitude law 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.

Version:
$Revision: 3111 $ $Date: 2010-02-10 17:45:39 +0100 (mer. 10 févr. 2010) $
Author:
Luc Maisonobe
See Also:
Serialized Form

Constructor Summary
FixedRate(Attitude referenceAttitude)
          Creates a new instance.
 
Method Summary
 Attitude getAttitude(Orbit orbit)
          Compute the attitude corresponding to an orbital state.
 Attitude getReferenceAttitude()
          Get the reference attitude.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedRate

public FixedRate(Attitude referenceAttitude)
Creates a new instance.

Parameters:
referenceAttitude - attitude at reference date
Method Detail

getAttitude

public Attitude getAttitude(Orbit orbit)
                     throws OrekitException
Compute the attitude corresponding to an orbital state.

Specified by:
getAttitude in interface AttitudeLaw
Parameters:
orbit - orbit state for which attitude is requested
Returns:
attitude attitude on the specified orbit, using orbit inertial frame as its reference frame
Throws:
OrekitException - if attitude cannot be computed

getReferenceAttitude

public Attitude getReferenceAttitude()
Get the reference attitude.

Returns:
reference attitude


Copyright © 2002-2010 CS Communication & Systèmes. All Rights Reserved.