public class UAVModel extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
b
Wing span (meters)
|
protected double |
c
Average wing chord length (meters)
|
protected double |
cD0
Reference drag at zero angle of attack
|
protected double |
cDAlpha
Drag curve slope (drag vs angle of attack)
|
protected double |
cDDeltaElevator
Drag due to elevator
|
protected double |
cL0
Reference lift at zero angle of attack
|
protected double |
cLAlpha
Lift curve slope (lift vs angle of attack)
|
protected double |
cLAlphaDot
Lift due to angle of attack rate
|
protected double |
cLBeta
Dihedral effect
|
protected double |
cLDeltaAileron
Rolling moment due to aileron
|
protected double |
cLDeltaElevator
Lift due to elevator
|
protected double |
cLDeltaRudder
Rolling moment due to rudder
|
protected double |
cLP
Roll damping
|
protected double |
cLQ
Lift due to pitch rate
|
protected double |
cLR
Roll due to yaw rate
|
protected double |
cM0
Reference pitch moment at zero angle of attack
|
protected double |
cMAlpha
Pitch moment due to angle of attack
|
protected double |
cMAlphaDot
Pitching moment due to angle of attack rate
|
protected double |
cMDeltaElevator
Pitching moment due to elevator
|
protected double |
cMQ
Pitching moment due to pitch rate
|
protected double |
cNBeta
Weather cocking stability
|
protected double |
cNDeltaAileron
Yawing moment due to aileron
|
protected double |
cNDeltaRudder
Yawing moment due to rudder
|
protected double |
cNP
Rudder adverse yaw
|
protected double |
cNR
Yaw damping
|
protected double |
cYBeta
Side force due to sideslip
|
protected double |
cYDeltaRudder
Side force due to rudder
|
protected double |
idlePower
Percentage of battery or fuel power consumed per second at idle
|
protected double |
Ixx
Inertia tensor Ixx value (kg-meter^2)
|
protected double |
Ixy
Inertia tensor Ixy value (kg-meter^2) -- not used in model
|
protected double |
Ixz
Inertia tensor Ixz value (kg-meter^2)
|
protected double |
Iyy
Inertia tensor Iyy value (kg-meter^2)
|
protected double |
Iyz
Inertia tensor Iyz value (kg-meter^2) -- not used in model
|
protected double |
Izz
Inertia tensor Izz value (kg-meter^2)
|
protected double |
m
Mass (kilograms)
|
protected double |
maxPwr
Maximum power setting available
|
protected double |
s
Wing surface area (meters square)
|
protected Vector3D |
tailPosition
Tail position relative to the CG (body coordinates)
|
protected double |
thrustPower
Percentage of battery or fuel power consumed per second at max power (in excess of idle consumption)
|
Constructor and Description |
---|
UAVModel()
Creates a new instance of UAVModel
|
Modifier and Type | Method and Description |
---|---|
String |
load(String configurationXmlFileName)
Loads coefficients from an configuration XML file
|
protected double maxPwr
protected double s
protected double b
protected double c
protected double m
protected Vector3D tailPosition
protected double Ixx
protected double Iyy
protected double Izz
protected double Ixz
protected double Ixy
protected double Iyz
protected double cL0
protected double cD0
protected double cM0
protected double cLAlpha
protected double cDAlpha
protected double cMAlpha
protected double cLQ
protected double cMQ
protected double cLAlphaDot
protected double cMAlphaDot
protected double cYBeta
protected double cLBeta
protected double cLP
protected double cLR
protected double cNBeta
protected double cNP
protected double cNR
protected double cLDeltaElevator
protected double cDDeltaElevator
protected double cMDeltaElevator
protected double cLDeltaAileron
protected double cNDeltaAileron
protected double cYDeltaRudder
protected double cLDeltaRudder
protected double cNDeltaRudder
protected double idlePower
protected double thrustPower