public class Goto extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
Goto.SPEED_UNITS |
static class |
Goto.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
Goto() |
Goto(IMCDefinition defs) |
Goto(IMCMessage msg) |
Goto(int timeout,
double lat,
double lon,
float z,
Goto.Z_UNITS z_units,
float speed,
Goto.SPEED_UNITS speed_units,
double roll,
double pitch,
double yaw,
java.lang.String custom) |
Modifier and Type | Method and Description |
---|---|
static Goto |
clone(IMCMessage msg) |
static Goto |
create(java.lang.Object... values) |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
double |
getLat() |
double |
getLon() |
double |
getPitch() |
double |
getRoll() |
double |
getSpeed() |
Goto.SPEED_UNITS |
getSpeedUnits()
Speed units.
|
int |
getTimeout() |
double |
getYaw() |
double |
getZ() |
Goto.Z_UNITS |
getZUnits()
Units of the z reference.
|
Goto |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
Goto |
setCustom(java.lang.String custom) |
Goto |
setLat(double lat) |
Goto |
setLon(double lon) |
Goto |
setPitch(double pitch) |
Goto |
setRoll(double roll) |
Goto |
setSpeed(double speed) |
Goto |
setSpeedUnits(Goto.SPEED_UNITS speed_units) |
Goto |
setSpeedUnits(short speed_units) |
Goto |
setSpeedUnits(java.lang.String speed_units) |
Goto |
setTimeout(int timeout) |
Goto |
setYaw(double yaw) |
Goto |
setZ(double z) |
Goto |
setZUnits(Goto.Z_UNITS z_units) |
Goto |
setZUnits(short z_units) |
Goto |
setZUnits(java.lang.String z_units) |
asJSON, asXml, 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, validate
public static final int ID_STATIC
public Goto()
public Goto(IMCMessage msg)
public Goto(IMCDefinition defs)
public Goto(int timeout, double lat, double lon, float z, Goto.Z_UNITS z_units, float speed, Goto.SPEED_UNITS speed_units, double roll, double pitch, double yaw, java.lang.String custom)
public static Goto create(java.lang.Object... values)
public static Goto clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public double getLat()
public double getLon()
public double getZ()
public Goto.Z_UNITS getZUnits()
public double getSpeed()
public Goto.SPEED_UNITS getSpeedUnits()
public double getRoll()
public double getPitch()
public double getYaw()
public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public Goto setTimeout(int timeout)
timeout
- Timeout (s)public Goto setLat(double lat)
lat
- Latitude WGS-84 (rad)public Goto setLon(double lon)
lon
- Longitude WGS-84 (rad)public Goto setZ(double z)
z
- Z Reference (m)public Goto setZUnits(Goto.Z_UNITS z_units)
z_units
- Z Units (enumerated)public Goto setZUnits(java.lang.String z_units)
z_units
- Z Units (as a String)public Goto setZUnits(short z_units)
z_units
- Z Units (integer value)public Goto setSpeed(double speed)
speed
- Speedpublic Goto setSpeedUnits(Goto.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public Goto setSpeedUnits(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public Goto setSpeedUnits(short speed_units)
speed_units
- Speed Units (integer value)public Goto setRoll(double roll)
roll
- Roll (rad)public Goto setPitch(double pitch)
pitch
- Pitch (rad)public Goto setYaw(double yaw)
yaw
- Yaw (rad)public Goto setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public Goto setCustom(java.lang.String custom)