public class UavExecution extends Execution implements Runnable
Execution.IdleHandler| Modifier and Type | Field and Description | 
|---|---|
| ControlCoefficients | controlCoefficientscontrol controlCoefficients to be utilized for physical control of the AUV | 
| UavControllers | controllerslist of available controllers | 
| ControlHardware | controlsinterface object for control actuator hardware | 
| UavControlParameters | uavControlParameters | 
| UavExecutionParameters | uavExecutionParametersuav-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 | 
|---|
| UavExecution(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 ControlParameters | getControlParameters() | 
| StateVector | getState() | 
| protected String | getTabDelimitedFormattedStateFieldNames()Add uav-specific fields to default state | 
| protected String | getTabDelimitedStateValues()Add uav-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()Required implementation of abstract method in Execution | 
| 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, decideExternal, endPositionReports, endStateReports, getEnvironmentalUpdatePeriodMs, getNextJoystickEvent, getPositionUpdatePeriod, getStateReportUpdatePeriod, getTacticalConnection, getWorkbenchCommunicator, initializeEnvironmentUpdates, isOneThreadedJvmForAllMissions, isRunning, missionSimulationLoopHouseKeepingFinal, missionSimulationLoopHouseKeepingInitial, missionSimulationLoopsRunFullMission, notifyCommandComplete, receiveJoystickEvent, run, setAgendaLaunchXY, setVehicleCharacteristics, shouldUseSingleJvm, startEnvironmentalUpdates, startPositionReports, startStateReports, stopEnviroUpdates, useMetric, useRadianspublic UavExecutionParameters uavExecutionParameters
public ControlCoefficients controlCoefficients
public ControlHardware controls
public UavControllers controllers
public UavControlParameters uavControlParameters
public UavExecution(String[] args)
args - String[] command line argumentspublic void reset()
Executionprotected ControlParameters getControlParameters()
getControlParameters in class Executionprotected Mission buildNewMission(boolean wantResultsOutput)
buildNewMission in class ExecutionwantResultsOutput - protected void missionFinished()
missionFinished in class Executionpublic static void main(String[] args)
args - the command line argumentsprotected void sense()
protected void decide()
protected String getTabDelimitedFormattedStateFieldNames()
getTabDelimitedFormattedStateFieldNames in class Executionprotected String getTabDelimitedStateValues()
getTabDelimitedStateValues in class Executionpublic int getVehicleType()
getVehicleType in class ExecutionDynamics.AGENDA, Dynamics.UAV, Dynamics.UGV, Dynamics.USV, Dynamics.UUV, Dynamics.MUNITION, Dynamics.ROVpublic StateVector getState()