public final class QuaternionPolynomialProfile extends GuidanceProfile
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.
|
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 computedCopyright © 2017 CNES. All rights reserved.