public final class QuaternionHarmonicProfile extends AbstractAttitudeProfile
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.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getAngularFrequencies() |
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
double[] |
getConstants() |
double[][] |
getCosArrays() |
String |
getNature()
Return 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, getAttitude, getSpinDeltaT, getTimeInterval, truncate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toPrettyString
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 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 computedpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedpublic String getNature()
getNature
in interface Leg
getNature
in class AbstractAttitudeProfile
Copyright © 2021 CNES. All rights reserved.