public class TargetController extends UuvController
Modifier and Type | Field and Description |
---|---|
protected double |
bearing
bearing to target
|
protected double |
bearingCommand
commanded bearing to target
|
protected boolean |
edgeTracking
true if sonar is to scan edge of target (false for entire target)
|
protected double |
range
range to target
|
protected double |
rangeCommand
commanded range to target
|
protected boolean |
targetPointing
true if auv should always point directly at target
|
protected boolean |
targetReset
true if a new sonar target for station keeping has been specified
|
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 |
---|
TargetController(UuvExecution execution)
Creates a new instance of TargetController
|
Modifier and Type | Method and Description |
---|---|
void |
computeControls()
Computes control settings for target control
|
adjustPropellersForSteeringIfNoRudders, checkRudderAvailable, computeLateralThrusterCommands, computePropellerCommands, computeRudderCommands, computeVerticalThrusterCommands, getBowLateralThrusterCommand, getCrossTrackError, getPortPropellerCommand, getPsiCommand, getRudderCommand, getSpeedCommand, getStbdPropellerCommand, getSternLateralThrusterCommand, getThetaCommand, isClosedLoopSpeed, readControls, setCommandedSpeed, setControls, setPropellersRPM, unsetClosedLoopSpeed, updateCrossTrackError
protected boolean targetReset
protected boolean targetPointing
protected boolean edgeTracking
protected double range
protected double bearing
protected double rangeCommand
protected double bearingCommand
public TargetController(UuvExecution execution)
execution
- UuvExecution reference to main class of AUVpublic void computeControls()
computeControls
in class UuvController