public class YoYo extends Maneuver
Modifier and Type | Class and Description |
---|---|
static class |
YoYo.SPEED_UNITS |
static class |
YoYo.Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
YoYo() |
YoYo(IMCDefinition defs) |
YoYo(IMCMessage msg) |
YoYo(int timeout,
double lat,
double lon,
float z,
YoYo.Z_UNITS z_units,
float amplitude,
float pitch,
float speed,
YoYo.SPEED_UNITS speed_units,
java.lang.String custom) |
Modifier and Type | Method and Description |
---|---|
static YoYo |
clone(IMCMessage msg) |
static YoYo |
create(java.lang.Object... values) |
double |
getAmplitude() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
double |
getLat() |
double |
getLon() |
double |
getPitch() |
double |
getSpeed() |
YoYo.SPEED_UNITS |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
int |
getTimeout() |
double |
getZ() |
YoYo.Z_UNITS |
getZUnits() |
java.lang.String |
getZUnitsStr() |
short |
getZUnitsVal() |
YoYo |
setAmplitude(double amplitude) |
YoYo |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
YoYo |
setCustom(java.lang.String custom) |
YoYo |
setLat(double lat) |
YoYo |
setLon(double lon) |
YoYo |
setPitch(double pitch) |
YoYo |
setSpeed(double speed) |
YoYo |
setSpeedUnits(YoYo.SPEED_UNITS speed_units) |
YoYo |
setSpeedUnitsStr(java.lang.String speed_units) |
YoYo |
setSpeedUnitsVal(short speed_units) |
YoYo |
setTimeout(int timeout) |
YoYo |
setZ(double z) |
YoYo |
setZUnits(YoYo.Z_UNITS z_units) |
YoYo |
setZUnitsStr(java.lang.String z_units) |
YoYo |
setZUnitsVal(short z_units) |
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 int ID_STATIC
public YoYo()
public YoYo(IMCMessage msg)
public YoYo(IMCDefinition defs)
public YoYo(int timeout, double lat, double lon, float z, YoYo.Z_UNITS z_units, float amplitude, float pitch, float speed, YoYo.SPEED_UNITS speed_units, java.lang.String custom)
public static YoYo create(java.lang.Object... values)
public static YoYo clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getTimeout()
public YoYo setTimeout(int timeout)
timeout
- Timeout (s)public double getLat()
public YoYo setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public YoYo setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getZ()
public YoYo setZ(double z)
z
- Z Reference (m)public YoYo.Z_UNITS getZUnits()
public java.lang.String getZUnitsStr()
public short getZUnitsVal()
public YoYo setZUnits(YoYo.Z_UNITS z_units)
z_units
- Z Units (enumerated)public YoYo setZUnitsStr(java.lang.String z_units)
z_units
- Z Units (as a String)public YoYo setZUnitsVal(short z_units)
z_units
- Z Units (integer value)public double getAmplitude()
public YoYo setAmplitude(double amplitude)
amplitude
- Amplitude (m)public double getPitch()
public YoYo setPitch(double pitch)
pitch
- Pitch Angle (rad)public double getSpeed()
public YoYo setSpeed(double speed)
speed
- Speedpublic YoYo.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public YoYo setSpeedUnits(YoYo.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public YoYo setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public YoYo setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public YoYo setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public YoYo setCustom(java.lang.String custom)