public class ControlCoefficients extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
kP
Coefficient applied to roll rate
|
protected double |
kPhi
Coefficient applied to the angle of bank (phi) error
|
protected double |
kPhiIntegral
Coefficient applied to the integral of angle of bank error
|
protected double |
kPsiDot
Coefficient applied to turn rate when determining the desired angle of bank
|
protected double |
kPsiDotDot
Coefficient applied to turn angular acceleration when detering the desired angle of bank
|
protected double |
kPsiDotIntegral
Coefficient applied to the integral of turn rate error when determining the desired angle of bank
|
protected double |
kQ
Coefficient applied to the pitch rate
|
protected double |
kTheta
Coefficient applied to pitch (theta) error
|
protected double |
kThetaIntegral
Coefficient applied to the integral of pitch (theta) error
|
protected double |
kThrustClimb
coefficient applied to the commanded rate of climb to determine baseline thrust
|
protected double |
kThrustCruise
baseline thrust for straight and level flight at cruise true air speed
|
protected double |
kV
Coefficient applied to body coordinate lateral velocity
|
protected double |
kVDot
Coefficient applied to the derivative of body coordinate lateral velocity
|
protected double |
kVIntegral
Coefficient applied to the integral of body coordinate lateral velocity
|
protected double |
kZDot
Coefficient applied to rate of climb error
|
protected double |
kZDotDot
Coefficient applied to derivative of rate of climb error
|
protected double |
kZDotIntegral
Coefficient applied to integral of altitude error
|
Constructor and Description |
---|
ControlCoefficients(UavExecution execution)
Creates a new instance of ControlCoefficients
|
Modifier and Type | Method and Description |
---|---|
void |
loadCoefficients(ExecutionDynamicsConfiguration config)
Sets control coefficient values based on xml configuration file
|
protected double kTheta
protected double kQ
protected double kThetaIntegral
protected double kV
protected double kVDot
protected double kVIntegral
protected double kThrustCruise
protected double kThrustClimb
protected double kZDot
protected double kZDotDot
protected double kZDotIntegral
protected double kPhi
protected double kP
protected double kPhiIntegral
protected double kPsiDot
protected double kPsiDotDot
protected double kPsiDotIntegral
public ControlCoefficients(UavExecution execution)
execution
- UavExecution reference to the main class of the auv to which coefficients applypublic void loadCoefficients(ExecutionDynamicsConfiguration config)
config
- JAXB object containing all configuration info