fr.cnes.genopus.nonWidget.attitudes
Class CustomAeroAttitudeLaw

java.lang.Object
  extended by org.orekit.attitudes.AbstractAttitudeLaw
      extended by fr.cnes.genopus.nonWidget.attitudes.CustomAeroAttitudeLaw
All Implemented Interfaces:
CustomAttitudeLaw, Serializable, org.orekit.attitudes.AttitudeLaw, org.orekit.attitudes.AttitudeProvider

public class CustomAeroAttitudeLaw
extends org.orekit.attitudes.AbstractAttitudeLaw
implements CustomAttitudeLaw

Class to define an aerodynamic attitude law by angle of attack, side slip angle and bank angle.

Author:
sumelzi
See Also:
Serialized Form

Constructor Summary
CustomAeroAttitudeLaw(double angleOfAttack, double sideSlipAngle, double bankAngle)
          Creates a new instance.
CustomAeroAttitudeLaw(double angleOfAttack, double sideSlipAngle, double bankAngle, org.orekit.bodies.BodyShape earthShape)
          Creates a new instance.
 
Method Summary
static double[] aeroToEarth(double angleOfAttack, double sideSlipAngle, double bankAngle, double slopeVel, double azimuthVel)
          Method to compute aircraft orientation angles with respect the Aircraft-carried normal earth axis system frame: OX towards local North and OY towards local East.
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()
          Getter for the angle of atack.
 org.orekit.attitudes.Attitude getAttitude(org.orekit.utils.PVCoordinatesProvider pvProv, org.orekit.time.AbsoluteDate date, org.orekit.frames.Frame frame)
          
 double getBankAngle()
          Getter for the bank angle.
 double getSideSlipAngle()
          Getter for the side slip angle.
 String toString()
          
 
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitude, setSpinDerivativesComputation
 

Constructor Detail

CustomAeroAttitudeLaw

public CustomAeroAttitudeLaw(double angleOfAttack,
                             double sideSlipAngle,
                             double bankAngle)
Creates a new instance.

Parameters:
angleOfAttack - angle of attack
sideSlipAngle - side slip angle angle
bankAngle - bank angle

CustomAeroAttitudeLaw

public CustomAeroAttitudeLaw(double angleOfAttack,
                             double sideSlipAngle,
                             double bankAngle,
                             org.orekit.bodies.BodyShape earthShape)
Creates a new instance.

Parameters:
angleOfAttack - angle of attack
sideSlipAngle - side slip angle angle
bankAngle - bank angle
earthShape - earth shape
Method Detail

getAttitude

public org.orekit.attitudes.Attitude getAttitude(org.orekit.utils.PVCoordinatesProvider pvProv,
                                                 org.orekit.time.AbsoluteDate date,
                                                 org.orekit.frames.Frame frame)
                                          throws org.orekit.errors.OrekitException

Specified by:
getAttitude in interface org.orekit.attitudes.AttitudeProvider
Throws:
org.orekit.errors.OrekitException

aeroToEarth

public static double[] aeroToEarth(double angleOfAttack,
                                   double sideSlipAngle,
                                   double bankAngle,
                                   double slopeVel,
                                   double azimuthVel)
Method to compute aircraft orientation angles with respect the Aircraft-carried normal earth axis system frame: OX towards local North and OY towards local East.

Parameters:
angleOfAttack - Angle of Attack
sideSlipAngle - Side slip angle
bankAngle - Bank angle
slopeVel - Slope velocity
azimuthVel - Azimuth velocity
Returns:
yaw, pitch and roll

aircraftToAero

public static double[] aircraftToAero(double slopeVel,
                                      double azimuthVel,
                                      double yaw,
                                      double pitch,
                                      double roll)
                               throws NonWidgetException
Method to compute aerodynamic frame orientation angles with respect aircraft frame.

Parameters:
slopeVel - Slope velocity
azimuthVel - Azimuth velocity
yaw - Aircraft yaw
pitch - Aircraft pitch
roll - Aircraft roll
Returns:
Angle of Attack, Side slip angle, Bank angle
Throws:
NonWidgetException - if bank angle cannot be computed

getAngleOfAttack

public double getAngleOfAttack()
Getter for the angle of atack.

Returns:
the angle of atack.

getSideSlipAngle

public double getSideSlipAngle()
Getter for the side slip angle.

Returns:
the side slip angle.

getBankAngle

public double getBankAngle()
Getter for the bank angle.

Returns:
the bank angle.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.