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_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,
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) |
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 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, 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 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 DesiredPath.START_Z_UNITS getStartZUnits()
public java.lang.String getStartZUnitsStr()
public short getStartZUnitsVal()
public DesiredPath setStartZUnits(DesiredPath.START_Z_UNITS 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 DesiredPath.END_Z_UNITS getEndZUnits()
public java.lang.String getEndZUnitsStr()
public short getEndZUnitsVal()
public DesiredPath setEndZUnits(DesiredPath.END_Z_UNITS 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 DesiredPath.SPEED_UNITS getSpeedUnits()
public java.lang.String getSpeedUnitsStr()
public short getSpeedUnitsVal()
public DesiredPath setSpeedUnits(DesiredPath.SPEED_UNITS 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)