public class WaypointController extends UsvController
| 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 usvExecution 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, correctToTrack, crossTrackError, offTrackAngleDegrees, propCommand, psiCommand, psiError, rudderCommand, THRUSTCONVERSION, usvExecution| Constructor and Description | 
|---|
| WaypointController(UsvExecution execution)Creates a new instance of WaypointController | 
| Modifier and Type | Method and Description | 
|---|---|
| void | computeControls()Computes control settings for waypoint control | 
computeRudderCommands, setControls, updateCrossTrackErrorprotected final double MAXSPDTURNRADIUS
public boolean newWaypoint
protected double cumulativeTurn
protected double previousPsi
public WaypointController(UsvExecution execution)
execution - UsvExecution reference to main class of USVpublic void computeControls()
computeControls in class UsvController