public final class QuaternionPolynomialProfile extends AbstractAttitudeProfile
Constructor and Description |
---|
QuaternionPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<QuaternionPolynomialSegment> polynomials)
Create a polynomial, quaternion guidance profile.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
String |
getNature()
Return the nature of the leg.
|
Map<AbsoluteDateInterval,double[]> |
getQ0Coefficients() |
Map<AbsoluteDateInterval,double[]> |
getQ1Coefficients() |
Map<AbsoluteDateInterval,double[]> |
getQ2Coefficients() |
Map<AbsoluteDateInterval,double[]> |
getQ3Coefficients() |
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
checkDate, getAttitude, getTimeInterval
public QuaternionPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<QuaternionPolynomialSegment> polynomials)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentspublic Map<AbsoluteDateInterval,double[]> getQ0Coefficients()
public Map<AbsoluteDateInterval,double[]> getQ1Coefficients()
public Map<AbsoluteDateInterval,double[]> getQ2Coefficients()
public Map<AbsoluteDateInterval,double[]> getQ3Coefficients()
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 © 2019 CNES. All rights reserved.