public class LQRLoiterController extends LoiterController
alongTrackRange, bowLateralThrusterCommand, bowVerticalThrusterCommand, correctToTrack, crossTrackError, depthError, depthErrorIntegral, depthPidTime, MAXDEPTHERROR, offTrackAngleDegrees, openLoopHeading, pdOnlyTime, portPropellerCommand, psiCommand, psiError, rudderCommand, speedControlReset, speedError, stbdPropellerCommand, sternLateralThrusterCommand, sternVerticalThrusterCommand, thetaCommand, THRUSTCONVERSION, turningRpm, uuvExecution, zCommand
Constructor and Description |
---|
LQRLoiterController(UuvExecution execution)
Creates a new instance of LQRLoiterController
|
Modifier and Type | Method and Description |
---|---|
void |
computeRudderCommands()
Computes the rudder setting using sliding mode control (thruster still uses PD)
|
computeControls
adjustPropellersForSteeringIfNoRudders, checkRudderAvailable, computeLateralThrusterCommands, computePropellerCommands, computeVerticalThrusterCommands, getBowLateralThrusterCommand, getCrossTrackError, getPortPropellerCommand, getPsiCommand, getRudderCommand, getSpeedCommand, getStbdPropellerCommand, getSternLateralThrusterCommand, getThetaCommand, isClosedLoopSpeed, readControls, setCommandedSpeed, setControls, setPropellersRPM, unsetClosedLoopSpeed, updateCrossTrackError
public LQRLoiterController(UuvExecution execution)
execution
- UuvExecution reference to main class of AUVpublic void computeRudderCommands()
computeRudderCommands
in class UuvController