public class DesiredControl extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static short |
FL_K |
static short |
FL_M |
static short |
FL_N |
static short |
FL_X |
static short |
FL_Y |
static short |
FL_Z |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DesiredControl() |
DesiredControl(double x,
double y,
double z,
double k,
double m,
double n,
short flags) |
DesiredControl(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
static DesiredControl |
clone(IMCMessage msg) |
static DesiredControl |
create(java.lang.Object... values) |
short |
getFlags()
Desired Control flags.
|
double |
getK() |
double |
getM() |
double |
getN() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setFlags(short flags) |
void |
setK(double k) |
void |
setM(double m) |
void |
setN(double n) |
void |
setX(double x) |
void |
setY(double y) |
void |
setZ(double z) |
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_X
public static final short FL_Y
public static final short FL_Z
public static final short FL_K
public static final short FL_M
public static final short FL_N
public DesiredControl()
public DesiredControl(IMCDefinition defs)
public DesiredControl(double x, double y, double z, double k, double m, double n, short flags)
public static DesiredControl create(java.lang.Object... values)
public static DesiredControl clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getX()
public double getY()
public double getZ()
public double getK()
public double getM()
public double getN()
public short getFlags()
public void setX(double x)
x
- Force along the x axis (n)public void setY(double y)
y
- Force along the y axis (n)public void setZ(double z)
z
- Force along the z axis (n)public void setK(double k)
k
- Torque about the x axis (nm)public void setM(double m)
m
- Torque about the y axis (nm)public void setN(double n)
n
- Torque about the z axis (nm)public void setFlags(short flags)
flags
- Flags (bitfield)