public abstract class AbstractAngularVelocitiesAttitudeProfile extends AbstractAttitudeProfile
An attitude profile which is defined by its angular velocity whose x-y-z components are represented with an
underlying Vector3DFunction
. The attitude orientation is computed integrating that angular velocity.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType
Attitude Angular Velocity Integration types.
|
Modifier and Type | Field and Description |
---|---|
protected int |
cacheFreq
Cache frequency.
|
protected AbsoluteDate |
dateRef
Reference date.
|
protected double |
integStep
Integration step.
|
protected Frame |
refFrame
Frame of initial rotation and Fourier series.
|
protected Rotation |
rotationInitial
Initial rotation.
|
protected boolean |
spinDerivativesComputation
Boolean for spin derivative computation.
|
protected Vector3DFunction |
spinVectorFunction
Angular velocity wrapper
Vector3DFunction . |
protected AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType |
type
Integration type.
|
LEG_NATURE
Constructor and Description |
---|
AbstractAngularVelocitiesAttitudeProfile(Vector3DFunction spinVectorFunction,
Frame frame,
AbsoluteDateInterval interval,
Rotation rotationRef,
AbsoluteDate dateRef,
AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType,
double integStep,
int cacheFreq,
String nature)
Constructor.
|
AbstractAngularVelocitiesAttitudeProfile(Vector3DFunction spinVectorFunction,
Frame frame,
AbsoluteDateInterval interval,
Rotation rotationRef,
AbsoluteDate dateRef,
AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType,
double integStep,
String nature)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Removes all of the elements from the orientation rotation cache
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
protected Rotation |
getOrientation(AbsoluteDate date)
Gets the orientation from the angular velocity function at a given date, integrating the function.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
checkDate, getNature, getSpinDeltaT, getTimeInterval
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD
copy, getDate, getEnd, toPrettyString
getAttitude
protected Vector3DFunction spinVectorFunction
Vector3DFunction
.protected final Frame refFrame
protected Rotation rotationInitial
protected AbsoluteDate dateRef
protected final AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType type
protected final double integStep
protected final int cacheFreq
protected boolean spinDerivativesComputation
public AbstractAngularVelocitiesAttitudeProfile(Vector3DFunction spinVectorFunction, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, int cacheFreq, String nature) throws PatriusException
spinVectorFunction
- Angular velocity wrapper Vector3DFunction
frame
- frame where initial rotation and the x,y,z components are expressedinterval
- interval of profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration type (see AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType
)integStep
- integration stepcacheFreq
- Number of integration steps performed between two values stored in the underlying cachenature
- NaturePatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic AbstractAngularVelocitiesAttitudeProfile(Vector3DFunction spinVectorFunction, Frame frame, AbsoluteDateInterval interval, Rotation rotationRef, AbsoluteDate dateRef, AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType integType, double integStep, String nature) throws PatriusException
spinVectorFunction
- Angular velocity wrapper Vector3DFunction
frame
- frame where initial rotation and the x,y,z components are expressedinterval
- interval of profilerotationRef
- rotation at reference datedateRef
- Reference dateintegType
- integration type (see AbstractAngularVelocitiesAttitudeProfile.AngularVelocityIntegrationType
)integStep
- integration stepnature
- NaturePatriusException
- thrown if the reference date is after the lower bound of the interval to be covered by the profilepublic 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 computedprotected Rotation getOrientation(AbsoluteDate date) throws PatriusException
date
- the datePatriusException
- thrown if the date is outside the covered intervalpublic void clearCache()
Copyright © 2021 CNES. All rights reserved.