|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.orekit.attitudes.AbstractSlew
org.orekit.attitudes.ConstantSpinSlew
public class ConstantSpinSlew
This class extends the AbstractSlew.
The Constant spin slew is a "simple" slew that computes the attitude of the satellite using a spherical interpolation
of the quaternions representing the starting and ending attitudes.
Some constraints, such as minimal maneuver duration or maximal angular velocity, must be taken into account during
the maneuver computation.
Like all the other attitude legs, its interval of validity has closed endpoints.
Nested Class Summary | |
---|---|
static class |
ConstantSpinSlew.Constraint
Enumeration of the existing constraint types |
Field Summary |
---|
Fields inherited from class org.orekit.attitudes.AbstractSlew |
---|
computed, currentProvider, fLaw, iLaw, intervalOfValidity |
Constructor Summary | |
---|---|
ConstantSpinSlew(AttitudeProvider initialLaw,
AttitudeProvider finalLaw,
AbsoluteDate initialDate,
AbsoluteDate finalDate)
Builds a ConstantSpinSlew based on a given interval of dates |
|
ConstantSpinSlew(AttitudeProvider initialLaw,
AttitudeProvider finalLaw,
AbsoluteDate date,
boolean isStartDate,
double constraintValue,
ConstantSpinSlew.Constraint constraintType)
Builds a ConstantSpinSlew from a type of constraint and its value |
Method Summary | |
---|---|
void |
compute(PVCoordinatesProvider pvProv)
Compute the slew corresponding to an orbital state. |
Attitude |
getAttitude(AbsoluteDate date,
Frame frame)
Compute the attitude. |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation. |
Methods inherited from class org.orekit.attitudes.AbstractSlew |
---|
getAttitude, getAttitude, getDuration, getTimeInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantSpinSlew(AttitudeProvider initialLaw, AttitudeProvider finalLaw, AbsoluteDate initialDate, AbsoluteDate finalDate)
initialLaw
- initial attitude lawfinalLaw
- final attitude lawinitialDate
- initial datefinalDate
- final datepublic ConstantSpinSlew(AttitudeProvider initialLaw, AttitudeProvider finalLaw, AbsoluteDate date, boolean isStartDate, double constraintValue, ConstantSpinSlew.Constraint constraintType)
initialLaw
- initial attitude lawfinalLaw
- final attitude lawdate
- begin or end date of the slewisStartDate
- if the date is begin dateconstraintValue
- value of the constraint : seconds for duration constraint and rad/s for angular velocity contraintconstraintType
- type of constraint : duration or angular velocityMethod Detail |
---|
public void compute(PVCoordinatesProvider pvProv) throws OrekitException
Slew
pvProv
- : local position-velocity provider around current date
OrekitException
- orekit exceptionpublic Attitude getAttitude(AbsoluteDate date, Frame frame) throws OrekitException
Slew
date
- : current dateframe
- : reference frame from which attitude is computed
OrekitException
- orekit exceptionpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
computeSpinDerivatives
- true if spin derivatives should be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |