public class Elevator extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
Elevator.END_Z_UNITS |
static class |
Elevator.SPEED_UNITS |
static class |
Elevator.START_Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static short |
FLG_CURR_POS |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Elevator() |
Elevator(IMCDefinition defs) |
Elevator(IMCMessage msg) |
Elevator(int timeout,
short flags,
double lat,
double lon,
float start_z,
Elevator.START_Z_UNITS start_z_units,
float end_z,
Elevator.END_Z_UNITS end_z_units,
float radius,
float speed,
Elevator.SPEED_UNITS speed_units,
java.lang.String custom) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, 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, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final short FLG_CURR_POS
public static final int ID_STATIC
public Elevator()
public Elevator(IMCMessage msg)
public Elevator(IMCDefinition defs)
public Elevator(int timeout, short flags, double lat, double lon, float start_z, Elevator.START_Z_UNITS start_z_units, float end_z, Elevator.END_Z_UNITS end_z_units, float radius, float speed, Elevator.SPEED_UNITS speed_units, java.lang.String custom)
public static Elevator create(java.lang.Object... values)
public static Elevator clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public Elevator setTimeout(int timeout)
timeout
- Timeout (s)public short getFlags()
public Elevator setFlags(short flags)
flags
- Flags (bitfield)public double getLat()
public Elevator setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public Elevator setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getStartZ()
public Elevator setStartZ(double start_z)
start_z
- Start Point -- Z Reference (m)public Elevator.START_Z_UNITS getStartZUnits()
public java.lang.String getStartZUnitsStr()
public short getStartZUnitsVal()
public Elevator setStartZUnits(Elevator.START_Z_UNITS start_z_units)
start_z_units
- Start Point -- Z Units (enumerated)public Elevator setStartZUnitsStr(java.lang.String start_z_units)
start_z_units
- Start Point -- Z Units (as a String)public Elevator setStartZUnitsVal(short start_z_units)
start_z_units
- Start Point -- Z Units (integer value)public double getEndZ()
public Elevator setEndZ(double end_z)
end_z
- End Point -- Z Reference (m)public Elevator.END_Z_UNITS getEndZUnits()
public java.lang.String getEndZUnitsStr()
public short getEndZUnitsVal()
public Elevator setEndZUnits(Elevator.END_Z_UNITS end_z_units)
end_z_units
- End Point -- Z Units (enumerated)public Elevator setEndZUnitsStr(java.lang.String end_z_units)
end_z_units
- End Point -- Z Units (as a String)public Elevator setEndZUnitsVal(short end_z_units)
end_z_units
- End Point -- Z Units (integer value)public double getRadius()
public Elevator setRadius(double radius)
radius
- Radius (m)public double getSpeed()
public Elevator setSpeed(double speed)
speed
- Speedpublic Elevator.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public Elevator setSpeedUnits(Elevator.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public Elevator setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public Elevator setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public Elevator setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public Elevator setCustom(java.lang.String custom)