public class DesiredPath extends ControlCommand
Modifier and Type | Field and Description |
---|---|
static short |
FL_3DTRACK |
static short |
FL_CCLOCKW |
static short |
FL_DIRECT |
static short |
FL_LAND |
static short |
FL_LOITER_CURR |
static short |
FL_NO_Z |
static short |
FL_START |
static short |
FL_TAKEOFF |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DesiredPath() |
DesiredPath(IMCDefinition defs) |
DesiredPath(IMCMessage msg) |
DesiredPath(long path_ref,
double start_lat,
double start_lon,
float start_z,
pt.lsts.imc.def.ZUnits start_z_units,
double end_lat,
double end_lon,
float end_z,
pt.lsts.imc.def.ZUnits end_z_units,
float speed,
pt.lsts.imc.def.SpeedUnits speed_units,
float lradius,
short flags) |
Modifier and Type | Method and Description |
---|---|
static DesiredPath |
clone(IMCMessage msg) |
static DesiredPath |
create(java.lang.Object... values) |
double |
getEndLat() |
double |
getEndLon() |
double |
getEndZ() |
pt.lsts.imc.def.ZUnits |
getEndZUnits() |
java.lang.String |
getEndZUnitsStr() |
short |
getEndZUnitsVal() |
short |
getFlags() |
double |
getLradius() |
long |
getPathRef() |
double |
getSpeed() |
pt.lsts.imc.def.SpeedUnits |
getSpeedUnits() |
java.lang.String |
getSpeedUnitsStr() |
short |
getSpeedUnitsVal() |
double |
getStartLat() |
double |
getStartLon() |
double |
getStartZ() |
pt.lsts.imc.def.ZUnits |
getStartZUnits() |
java.lang.String |
getStartZUnitsStr() |
short |
getStartZUnitsVal() |
DesiredPath |
setEndLat(double end_lat) |
DesiredPath |
setEndLon(double end_lon) |
DesiredPath |
setEndZ(double end_z) |
DesiredPath |
setEndZUnits(pt.lsts.imc.def.ZUnits end_z_units) |
DesiredPath |
setEndZUnitsStr(java.lang.String end_z_units) |
DesiredPath |
setEndZUnitsVal(short end_z_units) |
DesiredPath |
setFlags(short flags) |
DesiredPath |
setLradius(double lradius) |
DesiredPath |
setPathRef(long path_ref) |
DesiredPath |
setSpeed(double speed) |
DesiredPath |
setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units) |
DesiredPath |
setSpeedUnitsStr(java.lang.String speed_units) |
DesiredPath |
setSpeedUnitsVal(short speed_units) |
DesiredPath |
setStartLat(double start_lat) |
DesiredPath |
setStartLon(double start_lon) |
DesiredPath |
setStartZ(double start_z) |
DesiredPath |
setStartZUnits(pt.lsts.imc.def.ZUnits start_z_units) |
DesiredPath |
setStartZUnitsStr(java.lang.String start_z_units) |
DesiredPath |
setStartZUnitsVal(short start_z_units) |
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 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 static final short FL_TAKEOFF
public static final short FL_LAND
public static final int ID_STATIC
public DesiredPath()
public DesiredPath(IMCMessage msg)
public DesiredPath(IMCDefinition defs)
public DesiredPath(long path_ref, double start_lat, double start_lon, float start_z, pt.lsts.imc.def.ZUnits start_z_units, double end_lat, double end_lon, float end_z, pt.lsts.imc.def.ZUnits end_z_units, float speed, pt.lsts.imc.def.SpeedUnits 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 long getPathRef()
public DesiredPath setPathRef(long path_ref)
path_ref
- Path Referencepublic double getStartLat()
public DesiredPath setStartLat(double start_lat)
start_lat
- Start Point -- Latitude WGS-84 (rad)public double getStartLon()
public DesiredPath setStartLon(double start_lon)
start_lon
- Start Point -- WGS-84 Longitude (rad)public double getStartZ()
public DesiredPath setStartZ(double start_z)
start_z
- Start Point -- Z Reference (m)public pt.lsts.imc.def.ZUnits getStartZUnits()
public java.lang.String getStartZUnitsStr()
public short getStartZUnitsVal()
public DesiredPath setStartZUnits(pt.lsts.imc.def.ZUnits start_z_units)
start_z_units
- Start Point -- Z Units (enumerated)public DesiredPath setStartZUnitsStr(java.lang.String start_z_units)
start_z_units
- Start Point -- Z Units (as a String)public DesiredPath setStartZUnitsVal(short start_z_units)
start_z_units
- Start Point -- Z Units (integer value)public double getEndLat()
public DesiredPath setEndLat(double end_lat)
end_lat
- End Point -- WGS84 Latitude (rad)public double getEndLon()
public DesiredPath setEndLon(double end_lon)
end_lon
- End Point -- WGS-84 Longitude (rad)public double getEndZ()
public DesiredPath setEndZ(double end_z)
end_z
- End Point -- Z Reference (m)public pt.lsts.imc.def.ZUnits getEndZUnits()
public java.lang.String getEndZUnitsStr()
public short getEndZUnitsVal()
public DesiredPath setEndZUnits(pt.lsts.imc.def.ZUnits end_z_units)
end_z_units
- End Point -- Z Units (enumerated)public DesiredPath setEndZUnitsStr(java.lang.String end_z_units)
end_z_units
- End Point -- Z Units (as a String)public DesiredPath setEndZUnitsVal(short end_z_units)
end_z_units
- End Point -- Z Units (integer value)public double getSpeed()
public DesiredPath setSpeed(double speed)
speed
- Speedpublic pt.lsts.imc.def.SpeedUnits getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public DesiredPath setSpeedUnits(pt.lsts.imc.def.SpeedUnits speed_units)
speed_units
- Speed Units (enumerated)public DesiredPath setSpeedUnitsStr(java.lang.String speed_units)
speed_units
- Speed Units (as a String)public DesiredPath setSpeedUnitsVal(short speed_units)
speed_units
- Speed Units (integer value)public double getLradius()
public DesiredPath setLradius(double lradius)
lradius
- Loiter -- Radius (m)public short getFlags()
public DesiredPath setFlags(short flags)
flags
- Flags (bitfield)