public class DesiredVelocity extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static short |
FL_HEAVE |
static short |
FL_PITCH |
static short |
FL_ROLL |
static short |
FL_SURGE |
static short |
FL_SWAY |
static short |
FL_YAW |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DesiredVelocity() |
DesiredVelocity(double u,
double v,
double w,
double p,
double q,
double r,
short flags) |
DesiredVelocity(IMCDefinition defs) |
DesiredVelocity(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static DesiredVelocity |
clone(IMCMessage msg) |
static DesiredVelocity |
create(java.lang.Object... values) |
short |
getFlags() |
double |
getP() |
double |
getQ() |
double |
getR() |
double |
getU() |
double |
getV() |
double |
getW() |
DesiredVelocity |
setFlags(short flags) |
DesiredVelocity |
setP(double p) |
DesiredVelocity |
setQ(double q) |
DesiredVelocity |
setR(double r) |
DesiredVelocity |
setU(double u) |
DesiredVelocity |
setV(double v) |
DesiredVelocity |
setW(double w) |
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_SURGE
public static final short FL_SWAY
public static final short FL_HEAVE
public static final short FL_ROLL
public static final short FL_PITCH
public static final short FL_YAW
public static final int ID_STATIC
public DesiredVelocity()
public DesiredVelocity(IMCMessage msg)
public DesiredVelocity(IMCDefinition defs)
public DesiredVelocity(double u, double v, double w, double p, double q, double r, short flags)
public static DesiredVelocity create(java.lang.Object... values)
public static DesiredVelocity clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getU()
public DesiredVelocity setU(double u)
u
- Desired Linear Speed in xx (m/s)public double getV()
public DesiredVelocity setV(double v)
v
- Desired Linear Speed in yy (m/s)public double getW()
public DesiredVelocity setW(double w)
w
- Desired Linear Speed in zz (m/s)public double getP()
public DesiredVelocity setP(double p)
p
- Desired Angular Speed in xx (m/s)public double getQ()
public DesiredVelocity setQ(double q)
q
- Desired Angular Speed in yy (m/s)public double getR()
public DesiredVelocity setR(double r)
r
- Desired Angular Speed in zz (m/s)public short getFlags()
public DesiredVelocity setFlags(short flags)
flags
- Flags (bitfield)