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