fr.cnes.genopus.nonWidget.attitudes
Class CustomSpinStabilized

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by org.orekit.attitudes.SpinStabilized
          extended by fr.cnes.genopus.nonWidget.attitudes.CustomSpinStabilized
All Implemented Interfaces:
CustomAttitudeLaw, Serializable, org.orekit.attitudes.AttitudeLaw, org.orekit.attitudes.AttitudeLawModifier, org.orekit.attitudes.AttitudeProvider

public class CustomSpinStabilized
extends org.orekit.attitudes.SpinStabilized
implements CustomAttitudeLaw

Custom class to add requiered getters method not yet present in PATRIUS.

Author:
ffsm
See Also:
Serialized Form

Constructor Summary
CustomSpinStabilized(CustomAttitudeLaw pNonRotatingLaw, org.orekit.time.AbsoluteDate pStart, org.apache.commons.math3.geometry.euclidean.threed.Vector3D pAxis, double pRate)
           
 
Method Summary
 org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPAxis()
          Getter for the rotation axis in satellite frame.
 CustomAttitudeLaw getPNonRotatingLaw()
          Getter for the underlying non-rotating attitude law.
 double getPRate()
          Getter for the spin rate in radians per seconds.
 org.orekit.time.AbsoluteDate getPStart()
          Getter for the start date of the rotation.
 String toString()
          
 
Methods inherited from class org.orekit.attitudes.SpinStabilized
getAttitude, getNonRotatingLaw, getUnderlyingAttitudeLaw
 
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, wait, wait, wait
 
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitude, getAttitude, setSpinDerivativesComputation
 

Constructor Detail

CustomSpinStabilized

public CustomSpinStabilized(CustomAttitudeLaw pNonRotatingLaw,
                            org.orekit.time.AbsoluteDate pStart,
                            org.apache.commons.math3.geometry.euclidean.threed.Vector3D pAxis,
                            double pRate)
Parameters:
pNonRotatingLaw - underlying non-rotating attitude law
pStart - start date of the rotation
pAxis - rotation axis in satellite frame
pRate - spin rate in radians per seconds
See Also:
SpinStabilized
Method Detail

getPNonRotatingLaw

public CustomAttitudeLaw getPNonRotatingLaw()
Getter for the underlying non-rotating attitude law.

Returns:
the underlying non-rotating attitude law

getPStart

public org.orekit.time.AbsoluteDate getPStart()
Getter for the start date of the rotation.

Returns:
the start date of the rotation

getPAxis

public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getPAxis()
Getter for the rotation axis in satellite frame.

Returns:
the rotation axis in satellite frame

getPRate

public double getPRate()
Getter for the spin rate in radians per seconds.

Returns:
the spin rate in radians per seconds

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.