public class WaypointController extends UuvController
Modifier and Type | Field and Description |
---|---|
protected double |
cumulativeTurn
cumulative amount of turn in attempt to reach this waypoint (360 would mean a full circle
|
protected double |
MAXSPDTURNRADIUS
turn-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 |
newWaypoint
reset death spiral detection variables (true when waypoint initially commanded)
|
protected double |
previousPsi
vehicle 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, updateCrossTrackError
protected 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()
UuvController
readControls
in class UuvController
public void computeControls()
computeControls
in class UuvController