public class UuvExecution extends Execution
Execution.IdleHandler
Modifier and Type | Field and Description |
---|---|
ControlCoefficients |
controlCoefficients
control controlCoefficients to be utilized for physical control of the AUV
|
UuvControllers |
controllers
list of available controllers
|
ControlHardware |
controls
interface object for control actuator hardware
|
SonarController |
st1000Controller
st1000 sonar controller
|
SonarController |
st725Controller
st725 sonar controller
|
UuvControlParameters |
uuvControlParameters |
UuvExecutionParameters |
uuvExecutionParameters
auv-specific run-time runtimeFlags
|
currentCommandElement, currentCommandIndex, drivers, dynamics, dynamicsArgs, environmentCustomer, executionKey, firstTime, interVehicleCommunicationsHandler, joystickEventHashMap, KILL_CMD, killRun, mission, MULTIPLELOOPSMISSION_CMD, PAUSE_CMD, REALTIME_CMD, RESUME_CMD, runtimeFlags, stateReportChannel, stateVector, strategicLevel, strategicThread, tacticalConnection, tacticalLevel, tacticalThread, vehicleShortName, virtualWorldConnection, workbenchCommunicator
Constructor and Description |
---|
UuvExecution(String[] args)
Creates a new instance of Execution
|
Modifier and Type | Method and Description |
---|---|
protected void |
act()
computes and applies control settings
|
protected Mission |
buildNewMission(boolean wantResultsOutput) |
protected void |
decide()
determines appropriate action needed to complete current command,
using controller to compute
|
protected void |
decideExternal()
determines appropriate action needed to complete current command,
reading via controller from an external source
|
protected ControlParameters |
getControlParameters() |
StateVector |
getState() |
protected long |
getStateReportUpdatePeriod()
Can change period here if desired
|
protected String |
getTabDelimitedFormattedStateFieldNames()
Add auv-specific fields to default state
|
protected String |
getTabDelimitedStateValues()
Add auv-specific fields to default state
|
int |
getVehicleType() |
static void |
main(String[] args)
This is the entry point when Execution is invoked, either in a separate JVM or a single JVM.
|
protected void |
missionFinished()
Can do something at mission end
|
void |
reset()
Resets all component objects and variables to start over.
|
protected void |
sense()
reads sensors or communicates with the virtual world to orient auv in the world
|
checkKill, checkMultipleLoopsMission, checkPauseResume, checkPauseSeparateJvm, checkRealtime, cleanUpFollowingMissionLoopCompletion, endPositionReports, endStateReports, getEnvironmentalUpdatePeriodMs, getNextJoystickEvent, getPositionUpdatePeriod, getTacticalConnection, getWorkbenchCommunicator, initializeEnvironmentUpdates, isOneThreadedJvmForAllMissions, isRunning, missionSimulationLoopHouseKeepingFinal, missionSimulationLoopHouseKeepingInitial, missionSimulationLoopsRunFullMission, notifyCommandComplete, receiveJoystickEvent, run, setAgendaLaunchXY, setVehicleCharacteristics, shouldUseSingleJvm, startEnvironmentalUpdates, startPositionReports, startStateReports, stopEnviroUpdates, useMetric, useRadians
public UuvExecutionParameters uuvExecutionParameters
public ControlCoefficients controlCoefficients
public ControlHardware controls
public UuvControllers controllers
public SonarController st1000Controller
public SonarController st725Controller
public UuvControlParameters uuvControlParameters
public UuvExecution(String[] args)
args
- command line argumentspublic void reset()
Execution
public int getVehicleType()
getVehicleType
in class Execution
Dynamics.AGENDA
, Dynamics.UAV
, Dynamics.UGV
, Dynamics.USV
, Dynamics.UUV
, Dynamics.MUNITION
, Dynamics.ROV
public StateVector getState()
protected ControlParameters getControlParameters()
getControlParameters
in class Execution
protected Mission buildNewMission(boolean wantResultsOutput)
buildNewMission
in class Execution
wantResultsOutput
- protected void missionFinished()
missionFinished
in class Execution
public static void main(String[] args)
args
- the command line argumentsprotected void sense()
protected void decide()
protected void decideExternal()
decideExternal
in class Execution
protected String getTabDelimitedFormattedStateFieldNames()
getTabDelimitedFormattedStateFieldNames
in class Execution
protected String getTabDelimitedStateValues()
getTabDelimitedStateValues
in class Execution
protected long getStateReportUpdatePeriod()
getStateReportUpdatePeriod
in class Execution