public class ControlCoefficients extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected double | kPCoefficient applied to roll rate | 
| protected double | kPhiCoefficient applied to the angle of bank (phi) error | 
| protected double | kPhiIntegralCoefficient applied to the integral of angle of bank error | 
| protected double | kPsiDotCoefficient applied to turn rate when determining the desired angle of bank | 
| protected double | kPsiDotDotCoefficient applied to turn angular acceleration when detering the desired angle of bank | 
| protected double | kPsiDotIntegralCoefficient applied to the integral of turn rate error when determining the desired angle of bank | 
| protected double | kQCoefficient applied to the pitch rate | 
| protected double | kThetaCoefficient applied to pitch (theta) error | 
| protected double | kThetaIntegralCoefficient applied to the integral of pitch (theta) error | 
| protected double | kThrustClimbcoefficient applied to the commanded rate of climb to determine baseline thrust | 
| protected double | kThrustCruisebaseline thrust for straight and level flight at cruise true air speed | 
| protected double | kVCoefficient applied to body coordinate lateral velocity | 
| protected double | kVDotCoefficient applied to the derivative of body coordinate lateral velocity | 
| protected double | kVIntegralCoefficient applied to the integral of body coordinate lateral velocity | 
| protected double | kZDotCoefficient applied to rate of climb error | 
| protected double | kZDotDotCoefficient applied to derivative of rate of climb error | 
| protected double | kZDotIntegralCoefficient 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