public final class QuaternionHarmonicProfile extends AbstractAttitudeProfile
LEG_NATURE
Constructor and Description |
---|
QuaternionHarmonicProfile(AbsoluteDate origin,
Frame frame,
FourierSeries q0,
FourierSeries q1,
FourierSeries q2,
FourierSeries q3,
AbsoluteDateInterval timeInterval)
Create a harmonic, quaternion guidance profile.
|
QuaternionHarmonicProfile(AbsoluteDate origin,
Frame frame,
FourierSeries q0,
FourierSeries q1,
FourierSeries q2,
FourierSeries q3,
AbsoluteDateInterval timeInterval,
double spinDeltaT)
Create a harmonic, quaternion guidance profile.
|
QuaternionHarmonicProfile(AbsoluteDate origin,
Frame frame,
FourierSeries q0,
FourierSeries q1,
FourierSeries q2,
FourierSeries q3,
AbsoluteDateInterval timeInterval,
String nature,
double spinDeltaT)
Create a harmonic, quaternion guidance profile.
|
Modifier and Type | Method and Description |
---|---|
QuaternionHarmonicProfile |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
double[] |
getAngularFrequencies() |
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
double[] |
getConstants() |
double[][] |
getCosArrays() |
String |
getNature()
Returns the nature of the leg.
|
FourierSeries |
getQ0FourierSeries() |
FourierSeries |
getQ1FourierSeries() |
FourierSeries |
getQ2FourierSeries() |
FourierSeries |
getQ3FourierSeries() |
double[][] |
getSinArrays() |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
checkDate, getSpinDeltaT, getTimeInterval
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD
getDate, getEnd, toPrettyString
getAttitude
public QuaternionHarmonicProfile(AbsoluteDate origin, Frame frame, FourierSeries q0, FourierSeries q1, FourierSeries q2, FourierSeries q3, AbsoluteDateInterval timeInterval)
origin
- origin of dateframe
- the reference frame of the Fourier seriesq0
- q0 quaternion component Fourier decompositionq1
- q1 quaternion component Fourier decompositionq2
- q2 quaternion component Fourier decompositionq3
- q3 quaternion component Fourier decompositiontimeInterval
- interval of validity of the guidance profilepublic QuaternionHarmonicProfile(AbsoluteDate origin, Frame frame, FourierSeries q0, FourierSeries q1, FourierSeries q2, FourierSeries q3, AbsoluteDateInterval timeInterval, double spinDeltaT)
origin
- origin of dateframe
- the reference frame of the Fourier seriesq0
- q0 quaternion component Fourier decompositionq1
- q1 quaternion component Fourier decompositionq2
- q2 quaternion component Fourier decompositionq3
- q3 quaternion component Fourier decompositiontimeInterval
- interval of validity of the guidance profilespinDeltaT
- delta-t used for spin computation by finite differencespublic QuaternionHarmonicProfile(AbsoluteDate origin, Frame frame, FourierSeries q0, FourierSeries q1, FourierSeries q2, FourierSeries q3, AbsoluteDateInterval timeInterval, String nature, double spinDeltaT)
origin
- origin of dateframe
- the reference frame of the Fourier seriesq0
- q0 quaternion component Fourier decompositionq1
- q1 quaternion component Fourier decompositionq2
- q2 quaternion component Fourier decompositionq3
- q3 quaternion component Fourier decompositiontimeInterval
- interval of validity of the guidance profilenature
- naturespinDeltaT
- delta-t used for spin computation by finite differencespublic FourierSeries getQ0FourierSeries()
public FourierSeries getQ1FourierSeries()
public FourierSeries getQ2FourierSeries()
public FourierSeries getQ3FourierSeries()
public double[] getAngularFrequencies()
public double[] getConstants()
public double[][] getCosArrays()
public double[][] getSinArrays()
public 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 void setSpinDerivativesComputation(boolean computeSpinDerivatives)
computeSpinDerivatives
- true if spin derivatives should be computedpublic String getNature()
getNature
in interface Leg
getNature
in class AbstractAttitudeProfile
public QuaternionHarmonicProfile copy(AbsoluteDateInterval newInterval)
newInterval
- The time interval of the leg to createLeg
valid on provided intervalCopyright © 2021 CNES. All rights reserved.