public final class AngularVelocitiesHarmonicProfile extends AbstractAttitudeProfile
Constructor and Description |
---|
AngularVelocitiesHarmonicProfile(AbsoluteDate origin,
Rotation initialRotation,
Frame frame,
FourierSeries xAngle,
FourierSeries yAngle,
FourierSeries zAngle,
AbsoluteDateInterval timeInterval,
KinematicsToolkit.IntegrationType integType,
double integStep)
Create a harmonic, angular velocities guidance profile.
|
AngularVelocitiesHarmonicProfile(AbsoluteDate origin,
Rotation initialRotation,
Frame frame,
FourierSeries xAngle,
FourierSeries yAngle,
FourierSeries zAngle,
AbsoluteDateInterval timeInterval,
KinematicsToolkit.IntegrationType integType,
double integStep,
String nature)
Create a harmonic, angular velocities guidance profile.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getAngularFrequencies() |
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate userDate,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
double[] |
getConstants() |
double[][] |
getCosArrays() |
Vector3D |
getRotationAcceleration(AbsoluteDate dateIn)
Get the rotation acceleration from the vector3D at a given date.
|
double[][] |
getSinArrays() |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
AngularVelocitiesHarmonicProfile |
truncateTimeInterval(AbsoluteDateInterval newInterval)
Truncate the validity interval of the profile
|
checkDate, getAttitude, getNature, getTimeInterval
public AngularVelocitiesHarmonicProfile(AbsoluteDate origin, Rotation initialRotation, Frame frame, FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, AbsoluteDateInterval timeInterval, KinematicsToolkit.IntegrationType integType, double integStep)
origin
- origin of dateinitialRotation
- rotation at originframe
- frame where initialRotation and xAngle, yAngle and zAngle are expressedxAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositiontimeInterval
- interval of validity of the guidance profileintegType
- integration type (see KinematicsToolkit.IntegrationType
)integStep
- integration steppublic AngularVelocitiesHarmonicProfile(AbsoluteDate origin, Rotation initialRotation, Frame frame, FourierSeries xAngle, FourierSeries yAngle, FourierSeries zAngle, AbsoluteDateInterval timeInterval, KinematicsToolkit.IntegrationType integType, double integStep, String nature)
origin
- origin of dateinitialRotation
- rotation at originframe
- frame where initialRotation and xAngle, yAngle and zAngle are expressedxAngle
- x angular velocity Fourier decompositionyAngle
- y angular velocity Fourier decompositionzAngle
- z angular velocity Fourier decompositiontimeInterval
- interval of validity of the guidance profileintegType
- integration type (see KinematicsToolkit.IntegrationType
)integStep
- integration stepnature
- Naturepublic double[] getAngularFrequencies()
public double[] getConstants()
public double[][] getCosArrays()
public double[][] getSinArrays()
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate userDate, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current dateuserDate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic Vector3D getRotationAcceleration(AbsoluteDate dateIn) throws PatriusException
dateIn
- the datePatriusException
- thrown if date is not in intervalpublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws PatriusException
computeSpinDerivatives
- true if spin derivatives should be computedPatriusException
- if spin derivatives can not be computedpublic AngularVelocitiesHarmonicProfile truncateTimeInterval(AbsoluteDateInterval newInterval) throws PatriusException
newInterval
- the new time intervalPatriusException
- if the new time interval is not included in the current time intervalCopyright © 2019 CNES. All rights reserved.