public class ControlCoefficients extends Object
Modifier and Type | Field and Description |
---|---|
protected double |
kPsi
PD control coefficient corresponding to heading error
|
protected double |
kR
PD control coefficient corresponding to turn rate
|
Constructor and Description |
---|
ControlCoefficients(UgvExecution 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 kPsi
protected double kR
public ControlCoefficients(UgvExecution execution)
execution
- UsvExecution reference to the main class of the usv to which coefficients applypublic void loadCoefficients(ExecutionDynamicsConfiguration config)
config
- JAXB object containing all configuration info