public class MunitionControlParameters extends ControlParameters
ControlParameters.CommandParser| Modifier and Type | Field and Description |
|---|---|
boolean |
radianAngles
Control constants and mathematical model use degrees, so if the mission uses radians, angles need to be converted
|
static double |
timeStep
closed loop timing increment (seconds)
|
commandCompleteMsgSent, continueRun, readyNextCommand, standoffDistance, vehicle, workbenchCommunicator, xCommand, xStart, yCommand, yStart| Constructor and Description |
|---|
MunitionControlParameters(MunitionExecution execution)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getTimeStep()
Compute simulation timestep interval for this vehicle
|
boolean |
parseCommand(Object commandElement)
Place holder only.
|
boolean |
parseCommand(String commandString)
Place holder only.
|
void |
setMission(Mission mission)
Just to allow instance to configure itself based on mission specifics (i.e., telemetry type)
|
void |
setTimeStep(double newValue) |
void |
useMetricDistances(boolean newSetting)
PLACE HOLDER ONLY!
|
void |
useRadianAngles(boolean newSetting)
sets the angular units of measure to either radians or degrees (default)
Only valid for AVCL missions--text will ALWAYS use degrees
|
getStandoff, getXCommand, getXStart, getYCommand, getYStart, isTimedCommand, parseTelemetryPostCommon, readyForNextCommand, setReadyNextCommand, setTimedCommand, setWorkbenchCommunicator, unsetReadyNextCommandpublic static double timeStep
public boolean radianAngles
public MunitionControlParameters(MunitionExecution execution)
execution - reference to munition to which this object appliespublic void setMission(Mission mission)
ControlParameterssetMission in class ControlParametersmission - instance of execution.mission.Missionpublic double getTimeStep()
ControlParametersgetTimeStep in class ControlParameterspublic void setTimeStep(double newValue)
public void useRadianAngles(boolean newSetting)
useRadianAngles in class ControlParametersnewSetting - Setting true if mission command angular units will be radians (false for degrees)public void useMetricDistances(boolean newSetting)
useMetricDistances in class ControlParametersnewSetting - true if metric units of measure are to be usedpublic boolean parseCommand(Object commandElement)
parseCommand in class ControlParameterscommandElement - command to be parsedpublic boolean parseCommand(String commandString)
parseCommand in class ControlParameterscommandString - command to be parsed