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) |
DesiredControl(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static DesiredControl |
clone(IMCMessage msg) |
static DesiredControl |
create(java.lang.Object... values) |
short |
getFlags() |
double |
getK() |
double |
getM() |
double |
getN() |
double |
getX() |
double |
getY() |
double |
getZ() |
DesiredControl |
setFlags(short flags) |
DesiredControl |
setK(double k) |
DesiredControl |
setM(double m) |
DesiredControl |
setN(double n) |
DesiredControl |
setX(double x) |
DesiredControl |
setY(double y) |
DesiredControl |
setZ(double z) |
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_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 static final int ID_STATIC
public DesiredControl()
public DesiredControl(IMCMessage msg)
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 DesiredControl setX(double x)
x
- Force along the x axis (n)public double getY()
public DesiredControl setY(double y)
y
- Force along the y axis (n)public double getZ()
public DesiredControl setZ(double z)
z
- Force along the z axis (n)public double getK()
public DesiredControl setK(double k)
k
- Torque about the x axis (nm)public double getM()
public DesiredControl setM(double m)
m
- Torque about the y axis (nm)public double getN()
public DesiredControl setN(double n)
n
- Torque about the z axis (nm)public short getFlags()
public DesiredControl setFlags(short flags)
flags
- Flags (bitfield)