public class AutonomousSection extends Maneuver
Modifier and Type | Field and Description |
---|---|
static short |
ENFORCE_ALTITUDE |
static short |
ENFORCE_AREA2D |
static short |
ENFORCE_DEPTH |
static short |
ENFORCE_TIMEOUT |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
AutonomousSection() |
AutonomousSection(double lat,
double lon,
float speed,
pt.lsts.imc.def.SpeedUnits speed_units,
short limits,
double max_depth,
double min_alt,
double time_limit,
java.util.Collection<PolygonVertex> area_limits,
java.lang.String controller,
java.lang.String custom) |
AutonomousSection(IMCDefinition defs) |
AutonomousSection(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static AutonomousSection |
clone(IMCMessage msg) |
static AutonomousSection |
create(java.lang.Object... values) |
java.util.Vector<PolygonVertex> |
getAreaLimits() |
java.lang.String |
getController() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getCustom() |
double |
getLat() |
short |
getLimits() |
double |
getLon() |
double |
getMaxDepth() |
double |
getMinAlt() |
double |
getSpeed() |
pt.lsts.imc.def.SpeedUnits |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
double |
getTimeLimit() |
AutonomousSection |
setAreaLimits(java.util.Collection<PolygonVertex> area_limits) |
AutonomousSection |
setController(java.lang.String controller) |
AutonomousSection |
setCustom(java.util.LinkedHashMap<java.lang.String,?> custom) |
AutonomousSection |
setCustom(java.lang.String custom) |
AutonomousSection |
setLat(double lat) |
AutonomousSection |
setLimits(short limits) |
AutonomousSection |
setLon(double lon) |
AutonomousSection |
setMaxDepth(double max_depth) |
AutonomousSection |
setMinAlt(double min_alt) |
AutonomousSection |
setSpeed(double speed) |
AutonomousSection |
setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units) |
AutonomousSection |
setSpeedUnitsStr(java.lang.String speed_units) |
AutonomousSection |
setSpeedUnitsVal(short speed_units) |
AutonomousSection |
setTimeLimit(double time_limit) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final short ENFORCE_DEPTH
public static final short ENFORCE_ALTITUDE
public static final short ENFORCE_TIMEOUT
public static final short ENFORCE_AREA2D
public static final int ID_STATIC
public AutonomousSection()
public AutonomousSection(IMCMessage msg)
public AutonomousSection(IMCDefinition defs)
public AutonomousSection(double lat, double lon, float speed, pt.lsts.imc.def.SpeedUnits speed_units, short limits, double max_depth, double min_alt, double time_limit, java.util.Collection<PolygonVertex> area_limits, java.lang.String controller, java.lang.String custom)
public static AutonomousSection create(java.lang.Object... values)
public static AutonomousSection clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getLat()
public AutonomousSection setLat(double lat)
lat
- Latitude WGS-84 (rad)public double getLon()
public AutonomousSection setLon(double lon)
lon
- Longitude WGS-84 (rad)public double getSpeed()
public AutonomousSection setSpeed(double speed)
speed
- Speedpublic pt.lsts.imc.def.SpeedUnits getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public AutonomousSection setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units)
speed_units
- Speed Units (enumerated)public AutonomousSection setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public AutonomousSection setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public short getLimits()
public AutonomousSection setLimits(short limits)
limits
- Enforced Limits (bitfield)public double getMaxDepth()
public AutonomousSection setMaxDepth(double max_depth)
max_depth
- Maximum depth (m)public double getMinAlt()
public AutonomousSection setMinAlt(double min_alt)
min_alt
- Minimum altitude (m)public double getTimeLimit()
public AutonomousSection setTimeLimit(double time_limit)
time_limit
- Time Limit (s)public java.util.Vector<PolygonVertex> getAreaLimits()
public AutonomousSection setAreaLimits(java.util.Collection<PolygonVertex> area_limits)
area_limits
- Area Limitspublic java.lang.String getController()
public AutonomousSection setController(java.lang.String controller)
controller
- Controllerpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> getCustom()
public AutonomousSection setCustom(java.util.LinkedHashMap<java.lang.String,?> custom)
custom
- Custom settings for maneuver (tuplelist)public AutonomousSection setCustom(java.lang.String custom)