public class WaypointController extends UuvController
| Modifier and Type | Field and Description | 
|---|---|
| protected double | cumulativeTurncumulative amount of turn in attempt to reach this waypoint (360 would mean a full circle | 
| protected double | MAXSPDTURNRADIUSturn-radius-based factor used to determine whether the uuv can make the turn
 to achieve a waypoint given its current position, heading, and rpm | 
| boolean | newWaypointreset death spiral detection variables (true when waypoint initially commanded) | 
| protected double | previousPsivehicle heading on previous closed loop iteration | 
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 | 
|---|
| WaypointController(UuvExecution execution)Creates a new instance of WaypointController | 
| Modifier and Type | Method and Description | 
|---|---|
| void | computeControls()Computes control settings for waypoint control | 
| void | readControls()read uuv controls from an external source, default implementation is to compute them | 
adjustPropellersForSteeringIfNoRudders, checkRudderAvailable, computeLateralThrusterCommands, computePropellerCommands, computeRudderCommands, computeVerticalThrusterCommands, getBowLateralThrusterCommand, getCrossTrackError, getPortPropellerCommand, getPsiCommand, getRudderCommand, getSpeedCommand, getStbdPropellerCommand, getSternLateralThrusterCommand, getThetaCommand, isClosedLoopSpeed, setCommandedSpeed, setControls, setPropellersRPM, unsetClosedLoopSpeed, updateCrossTrackErrorprotected final double MAXSPDTURNRADIUS
public boolean newWaypoint
protected double cumulativeTurn
protected double previousPsi
public WaypointController(UuvExecution execution)
execution - UuvExecution reference to main class of AUVpublic void readControls()
UuvControllerreadControls in class UuvControllerpublic void computeControls()
computeControls in class UuvController