|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfaa.tg.aircraft.adm.dynamics.LateralDerivatives
public class LateralDerivatives
LateralDerivatives is the class that is used to calculate the lateral states of the ADMAircraft. It contains the StateTransitionMatrix and the DiscreteInputMatrix. These two matrices are used for the analytic integration of the two fundimental lateral states:
See the source: LateralDerivatives.java
| Field Summary | |
|---|---|
private double |
a
|
private double |
a2b2
|
private double |
b
|
private double |
c
|
private double |
cosc
|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
private Matrix |
discreteInputMatrix
this matrix holds 2 X 1 Matrix known as the discrete input matrix The discrete input matrix is used during the analytic integration of the roll angle and roll rate equations of motion which are two calc methods in this class |
private double |
K1
|
private double |
K2
|
(package private) static long |
serialVersionUID
|
private double |
sinec
|
private Matrix |
stateTransitionMatrix
this matrix holds 2 X 2 Matrix known as the discrete input matrix The state transition matrix is used during the analytic integration of the roll angle and roll rate equations of motion which are two calc methods in this class |
private double |
Wn
|
private double |
zeta
|
| Constructor Summary | |
|---|---|
LateralDerivatives(LateralDerivativeInputs ldi)
Constructor for the LateralDerivatives class During construction, the two matrices (the StateTransitionMatrix and the DiscreteInputMatrix) are derived. |
|
| Method Summary | |
|---|---|
private Matrix |
calcDiscreteInputMatrix(double K1,
double cosc,
double expNegadt,
double a,
double sine3,
double b,
double cosbdt,
double a2b2,
double sinec,
double Wn)
Calculates the DiscreteInputMatrix. |
RollAngle |
calcRollAngle(RollRate rollRate,
RollAngle rollAngle,
RollAngle desiredRollAngle)
Calculates the new roll angle using the state transition matrix and the discrete input matrix. |
RollRate |
calcRollRate(RollRate rollRate,
RollAngle rollAngle,
RollAngle desiredRollAngle)
Calculates the new roll rate using the state transition matrix and the discrete input matrix. |
private Matrix |
calcStateTransitionMatrix(double K2,
double expadt,
double sine1,
double Wn,
double sine2,
double zeta)
Calculates the StateTransitionMatrix. |
LateralDerivatives |
clone()
|
void |
setTimeStep(SimulationTime timeStep)
Changes the transition time from the kth to k+1th state to the input. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
private Matrix discreteInputMatrix
private Matrix stateTransitionMatrix
private final double Wn
private final double K1
private final double K2
private final double a
private final double b
private final double c
private final double a2b2
private final double sinec
private final double cosc
private final double zeta
| Constructor Detail |
|---|
public LateralDerivatives(LateralDerivativeInputs ldi)
ldi - an object of type LateralDerivativeInputs which acts as a
container holding the following four values:
| Method Detail |
|---|
private Matrix calcDiscreteInputMatrix(double K1,
double cosc,
double expNegadt,
double a,
double sine3,
double b,
double cosbdt,
double a2b2,
double sinec,
double Wn)
private Matrix calcStateTransitionMatrix(double K2,
double expadt,
double sine1,
double Wn,
double sine2,
double zeta)
public RollRate calcRollRate(RollRate rollRate,
RollAngle rollAngle,
RollAngle desiredRollAngle)
rollRate - the roll angular rate of the aircraft.rollAngle - the roll angle of the aircraft.desiredRollAngle - desired roll angle calculated by control logic.
public RollAngle calcRollAngle(RollRate rollRate,
RollAngle rollAngle,
RollAngle desiredRollAngle)
rollRate - the roll angular rate of the aircraft.rollAngle - the roll angle of the aircraft.desiredRollAngle - desired roll angle calculated by control logic.
public void setTimeStep(SimulationTime timeStep)
time, - the new difference in time.public java.lang.String toString()
toString in class java.lang.Object
public LateralDerivatives clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||