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) |
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() |
void |
setFlags(short flags) |
void |
setP(double p) |
void |
setQ(double q) |
void |
setR(double r) |
void |
setU(double u) |
void |
setV(double v) |
void |
setW(double w) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, 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, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, 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(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 void setU(double u)
u
- Desired Linear Speed in xx (m/s)public void setV(double v)
v
- Desired Linear Speed in yy (m/s)public void setW(double w)
w
- Desired Linear Speed in zz (m/s)public void setP(double p)
p
- Desired Angular Speed in xx (m/s)public void setQ(double q)
q
- Desired Angular Speed in yy (m/s)public void setR(double r)
r
- Desired Angular Speed in zz (m/s)public void setFlags(short flags)
flags
- Flags (bitfield)