public class AutopilotMode extends IMCMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
AutopilotMode.AUTONOMY |
| Modifier and Type | Field and Description |
|---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID| Constructor and Description |
|---|
AutopilotMode() |
AutopilotMode(AutopilotMode.AUTONOMY autonomy,
java.lang.String mode) |
AutopilotMode(IMCDefinition defs) |
AutopilotMode(IMCMessage msg) |
| Modifier and Type | Method and Description |
|---|---|
static AutopilotMode |
clone(IMCMessage msg) |
static AutopilotMode |
create(java.lang.Object... values) |
AutopilotMode.AUTONOMY |
getAutonomy()
Current mode autonomy level.
|
java.lang.String |
getMode() |
AutopilotMode |
setAutonomy(AutopilotMode.AUTONOMY autonomy) |
AutopilotMode |
setAutonomy(short autonomy) |
AutopilotMode |
setAutonomy(java.lang.String autonomy) |
AutopilotMode |
setMode(java.lang.String mode) |
asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validatepublic static final int ID_STATIC
public AutopilotMode()
public AutopilotMode(IMCMessage msg)
public AutopilotMode(IMCDefinition defs)
public AutopilotMode(AutopilotMode.AUTONOMY autonomy, java.lang.String mode)
public static AutopilotMode create(java.lang.Object... values)
public static AutopilotMode clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exceptionpublic AutopilotMode.AUTONOMY getAutonomy()
public java.lang.String getMode()
public AutopilotMode setAutonomy(AutopilotMode.AUTONOMY autonomy)
autonomy - Autonomy Level (enumerated)public AutopilotMode setAutonomy(java.lang.String autonomy)
autonomy - Autonomy Level (as a String)public AutopilotMode setAutonomy(short autonomy)
autonomy - Autonomy Level (integer value)public AutopilotMode setMode(java.lang.String mode)
mode - Mode