public class DesiredPath extends ControlCommand
Modifier and Type | Class and Description |
---|---|
static class |
DesiredPath.END_Z_UNITS |
static class |
DesiredPath.SPEED_UNITS |
static class |
DesiredPath.START_Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static short |
FL_3DTRACK |
static short |
FL_CCLOCKW |
static short |
FL_DIRECT |
static short |
FL_LOITER_CURR |
static short |
FL_NO_Z |
static short |
FL_START |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DesiredPath() |
DesiredPath(double start_lat,
double start_lon,
float start_z,
DesiredPath.START_Z_UNITS start_z_units,
double end_lat,
double end_lon,
float end_z,
DesiredPath.END_Z_UNITS end_z_units,
float speed,
DesiredPath.SPEED_UNITS speed_units,
float lradius,
short flags) |
DesiredPath(IMCDefinition defs) |
DesiredPath(IMCMessage msg) |
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 static final short FL_START
public static final short FL_DIRECT
public static final short FL_NO_Z
public static final short FL_3DTRACK
public static final short FL_CCLOCKW
public static final short FL_LOITER_CURR
public DesiredPath()
public DesiredPath(IMCMessage msg)
public DesiredPath(IMCDefinition defs)
public DesiredPath(double start_lat, double start_lon, float start_z, DesiredPath.START_Z_UNITS start_z_units, double end_lat, double end_lon, float end_z, DesiredPath.END_Z_UNITS end_z_units, float speed, DesiredPath.SPEED_UNITS speed_units, float lradius, short flags)
public static DesiredPath create(java.lang.Object... values)
public static DesiredPath clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getStartLat()
public double getStartLon()
public double getStartZ()
public DesiredPath.START_Z_UNITS getStartZUnits()
public double getEndLat()
public double getEndLon()
public double getEndZ()
public DesiredPath.END_Z_UNITS getEndZUnits()
public double getSpeed()
public DesiredPath.SPEED_UNITS getSpeedUnits()
public double getLradius()
public short getFlags()
public DesiredPath setStartLat(double start_lat)
start_lat
- Start Point -- Latitude WGS-84 (rad)public DesiredPath setStartLon(double start_lon)
start_lon
- Start Point -- WGS-84 Longitude (rad)public DesiredPath setStartZ(double start_z)
start_z
- Start Point -- Z Reference (m)public DesiredPath setStartZUnits(DesiredPath.START_Z_UNITS start_z_units)
start_z_units
- Start Point -- Z Units (enumerated)public DesiredPath setStartZUnits(java.lang.String start_z_units)
start_z_units
- Start Point -- Z Units (as a String)public DesiredPath setStartZUnits(short start_z_units)
start_z_units
- Start Point -- Z Units (integer value)public DesiredPath setEndLat(double end_lat)
end_lat
- End Point -- WGS84 Latitude (rad)public DesiredPath setEndLon(double end_lon)
end_lon
- End Point -- WGS-84 Longitude (rad)public DesiredPath setEndZ(double end_z)
end_z
- End Point -- Z Reference (m)public DesiredPath setEndZUnits(DesiredPath.END_Z_UNITS end_z_units)
end_z_units
- End Point -- Z Units (enumerated)public DesiredPath setEndZUnits(java.lang.String end_z_units)
end_z_units
- End Point -- Z Units (as a String)public DesiredPath setEndZUnits(short end_z_units)
end_z_units
- End Point -- Z Units (integer value)public DesiredPath setSpeed(double speed)
speed
- Speedpublic DesiredPath setSpeedUnits(DesiredPath.SPEED_UNITS speed_units)
speed_units
- Speed Units (enumerated)public DesiredPath setSpeedUnits(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public DesiredPath setSpeedUnits(short speed_units)
speed_units
- Speed Units (integer value)public DesiredPath setLradius(double lradius)
lradius
- Loiter -- Radius (m)public DesiredPath setFlags(short flags)
flags
- Flags (bitfield)