public class AeroAttitudeLaw extends AbstractAttitudeLaw
Constructor and Description |
---|
AeroAttitudeLaw(double angleofattack,
double sideslip,
double rollVel,
EllipsoidBodyShape earthShape)
Constructor.
|
AeroAttitudeLaw(double angleofattack,
double sideslip,
double rollVel,
EllipsoidBodyShape earthShape,
double dtSpin,
double dtAcc)
Constructor with parameterizable delta-time for spin and acceleration computation.
|
AeroAttitudeLaw(IParameterizableFunction angleofattack,
IParameterizableFunction sideslip,
IParameterizableFunction rollVel,
EllipsoidBodyShape earthShape)
Constructor.
|
AeroAttitudeLaw(IParameterizableFunction angleofattack,
IParameterizableFunction sideslip,
IParameterizableFunction rollVel,
EllipsoidBodyShape earthShape,
double dtSpin,
double dtAcc)
Constructor with parameterizable delta-time for spin and acceleration computation.
|
Modifier and Type | Method and Description |
---|---|
static double[] |
aircraftToAero(double slopeVel,
double azimuthVel,
double yaw,
double pitch,
double roll)
Method to compute aerodynamic frame orientation angles with respect aircraft frame.
|
double |
getAngleOfAttack(SpacecraftState state)
Getter for the angle of attack.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
double |
getRollVelocity(SpacecraftState state)
Getter for the roll velocity.
|
double |
getSideSlipAngle(SpacecraftState state)
Getter for the side slip angle.
|
String |
toString() |
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
public AeroAttitudeLaw(double angleofattack, double sideslip, double rollVel, EllipsoidBodyShape earthShape) throws PatriusException
angleofattack
- angle of attack in [-Pi;Pi]sideslip
- sideslip angle in ]-Pi/2; Pi/2[rollVel
- roll velocity in [-Pi;Pi]earthShape
- Earth shapePatriusException
- if some specific error occurspublic AeroAttitudeLaw(IParameterizableFunction angleofattack, IParameterizableFunction sideslip, IParameterizableFunction rollVel, EllipsoidBodyShape earthShape) throws PatriusException
angleofattack
- angle of attacksideslip
- sideslip anglerollVel
- roll velocityearthShape
- Earth shapePatriusException
- if some specific error occurspublic AeroAttitudeLaw(double angleofattack, double sideslip, double rollVel, EllipsoidBodyShape earthShape, double dtSpin, double dtAcc) throws PatriusException
angleofattack
- angle of attacksideslip
- sideslip anglerollVel
- roll velocityearthShape
- Earth shapedtSpin
- step for finite differences spin computationdtAcc
- step for finite differences spin derivative computationPatriusException
- if some specific error occurspublic AeroAttitudeLaw(IParameterizableFunction angleofattack, IParameterizableFunction sideslip, IParameterizableFunction rollVel, EllipsoidBodyShape earthShape, double dtSpin, double dtAcc) throws PatriusException
angleofattack
- angle of attacksideslip
- sideslip anglerollVel
- roll velocityearthShape
- Earth shapedtSpin
- step for finite differences spin computationdtAcc
- step for finite differences spin derivative computationPatriusException
- if some specific error occurspublic 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 static double[] aircraftToAero(double slopeVel, double azimuthVel, double yaw, double pitch, double roll) throws PatriusException
slopeVel
- Slope velocityazimuthVel
- Azimuth velocityyaw
- Aircraft yawpitch
- Aircraft pitchroll
- Aircraft rollPatriusException
- side slip angle doesn't permit to compute bank anglepublic double getAngleOfAttack(SpacecraftState state)
state
- statepublic double getSideSlipAngle(SpacecraftState state)
state
- statepublic double getRollVelocity(SpacecraftState state)
state
- stateCopyright © 2019 CNES. All rights reserved.