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()
Desired Velocity flags.
|
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, 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_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 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 double getV()
public double getW()
public double getP()
public double getQ()
public double getR()
public short getFlags()
public DesiredVelocity setU(double u)
u
- Desired Linear Speed in xx (m/s)public DesiredVelocity setV(double v)
v
- Desired Linear Speed in yy (m/s)public DesiredVelocity setW(double w)
w
- Desired Linear Speed in zz (m/s)public DesiredVelocity setP(double p)
p
- Desired Angular Speed in xx (m/s)public DesiredVelocity setQ(double q)
q
- Desired Angular Speed in yy (m/s)public DesiredVelocity setR(double r)
r
- Desired Angular Speed in zz (m/s)public DesiredVelocity setFlags(short flags)
flags
- Flags (bitfield)