public class QuaternionPolynomialProfile extends AbstractAttitudeProfile
LEG_NATURE
Constructor and Description |
---|
QuaternionPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<QuaternionPolynomialSegment> polynomials)
Create a polynomial, quaternion guidance profile.
|
QuaternionPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<QuaternionPolynomialSegment> polynomials,
double spinDeltaT)
Create a polynomial, quaternion guidance profile.
|
QuaternionPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<QuaternionPolynomialSegment> polynomials,
String nature)
Create a polynomial, quaternion guidance profile.
|
QuaternionPolynomialProfile(Frame frame,
AbsoluteDateInterval timeInterval,
List<QuaternionPolynomialSegment> polynomials,
String nature,
double spinDeltaT)
Create a polynomial, quaternion guidance profile.
|
Modifier and Type | Method and Description |
---|---|
QuaternionPolynomialProfile |
copy(AbsoluteDateInterval newInterval)
Creates a new leg from this one.
|
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() |
Frame |
getReferenceFrame()
Returns the reference frame of the polynomial functions.
|
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
contains, getDate, getEnd, toPrettyString
getAttitude
public QuaternionPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<QuaternionPolynomialSegment> polynomials, String nature)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentsnature
- naturepublic 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 QuaternionPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<QuaternionPolynomialSegment> polynomials, String nature, double spinDeltaT)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentsnature
- naturespinDeltaT
- delta-t used for spin/acceleration computation by finite differencespublic QuaternionPolynomialProfile(Frame frame, AbsoluteDateInterval timeInterval, List<QuaternionPolynomialSegment> polynomials, double spinDeltaT)
frame
- the reference frame of the polynomial functionstimeInterval
- interval of validity of the guidance profilepolynomials
- the list of polynomial guidance profile segmentsspinDeltaT
- delta-t used for spin computation by finite differencespublic 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 computed for provided datepublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
computeSpinDerivatives
- true if spin derivatives should be computedpublic QuaternionPolynomialProfile copy(AbsoluteDateInterval newInterval)
newInterval
- The time interval of the leg to createLeg
valid on provided intervalpublic Frame getReferenceFrame()
Copyright © 2023 CNES. All rights reserved.