public class PathControlState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PathControlState.END_Z_UNITS |
static class |
PathControlState.START_Z_UNITS |
Modifier and Type | Field and Description |
---|---|
static short |
FL_3DTRACK |
static short |
FL_CCLOCKW |
static short |
FL_LOITERING |
static short |
FL_NEAR |
static short |
FL_NO_Z |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PathControlState() |
PathControlState(double start_lat,
double start_lon,
float start_z,
PathControlState.START_Z_UNITS start_z_units,
double end_lat,
double end_lon,
float end_z,
PathControlState.END_Z_UNITS end_z_units,
float lradius,
short flags,
float x,
float y,
float z,
float vx,
float vy,
float vz,
float course_error,
int eta) |
PathControlState(IMCDefinition defs) |
PathControlState(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_NEAR
public static final short FL_LOITERING
public static final short FL_NO_Z
public static final short FL_3DTRACK
public static final short FL_CCLOCKW
public PathControlState()
public PathControlState(IMCMessage msg)
public PathControlState(IMCDefinition defs)
public PathControlState(double start_lat, double start_lon, float start_z, PathControlState.START_Z_UNITS start_z_units, double end_lat, double end_lon, float end_z, PathControlState.END_Z_UNITS end_z_units, float lradius, short flags, float x, float y, float z, float vx, float vy, float vz, float course_error, int eta)
public static PathControlState create(java.lang.Object... values)
public static PathControlState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getStartLat()
public double getStartLon()
public double getStartZ()
public PathControlState.START_Z_UNITS getStartZUnits()
public double getEndLat()
public double getEndLon()
public double getEndZ()
public PathControlState.END_Z_UNITS getEndZUnits()
public double getLradius()
public short getFlags()
public double getX()
public double getY()
public double getZ()
public double getVx()
public double getVy()
public double getVz()
public double getCourseError()
public int getEta()
public PathControlState setStartLat(double start_lat)
start_lat
- Start Point -- Latitude WGS-84 (rad)public PathControlState setStartLon(double start_lon)
start_lon
- Start Point -- WGS-84 Longitude (rad)public PathControlState setStartZ(double start_z)
start_z
- Start Point -- Z Reference (m)public PathControlState setStartZUnits(PathControlState.START_Z_UNITS start_z_units)
start_z_units
- Start Point -- Z Units (enumerated)public PathControlState setStartZUnits(java.lang.String start_z_units)
start_z_units
- Start Point -- Z Units (as a String)public PathControlState setStartZUnits(short start_z_units)
start_z_units
- Start Point -- Z Units (integer value)public PathControlState setEndLat(double end_lat)
end_lat
- End Point -- Latitude WGS-84 (rad)public PathControlState setEndLon(double end_lon)
end_lon
- End Point -- WGS-84 Longitude (rad)public PathControlState setEndZ(double end_z)
end_z
- End Point -- Z Reference (m)public PathControlState setEndZUnits(PathControlState.END_Z_UNITS end_z_units)
end_z_units
- End Point -- Z Units (enumerated)public PathControlState setEndZUnits(java.lang.String end_z_units)
end_z_units
- End Point -- Z Units (as a String)public PathControlState setEndZUnits(short end_z_units)
end_z_units
- End Point -- Z Units (integer value)public PathControlState setLradius(double lradius)
lradius
- Loiter -- Radius (m)public PathControlState setFlags(short flags)
flags
- Flags (bitfield)public PathControlState setX(double x)
x
- Along Track Position (m)public PathControlState setY(double y)
y
- Cross Track Position (m)public PathControlState setZ(double z)
z
- Vertical Track Position (m)public PathControlState setVx(double vx)
vx
- Along Track Velocity (m/s)public PathControlState setVy(double vy)
vy
- Cross Track Velocity (m/s)public PathControlState setVz(double vz)
vz
- Vertical Track Velocity (m/s)public PathControlState setCourseError(double course_error)
course_error
- Course Error (rad)public PathControlState setEta(int eta)
eta
- Estimated Time to Arrival (ETA) (s)