public class DesiredLinearState extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
FL_AX |
static int |
FL_AY |
static int |
FL_AZ |
static int |
FL_VX |
static int |
FL_VY |
static int |
FL_VZ |
static int |
FL_X |
static int |
FL_Y |
static int |
FL_Z |
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DesiredLinearState() |
DesiredLinearState(double x,
double y,
double z,
double vx,
double vy,
double vz,
double ax,
double ay,
double az,
int flags) |
DesiredLinearState(IMCDefinition defs) |
DesiredLinearState(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static DesiredLinearState |
clone(IMCMessage msg) |
static DesiredLinearState |
create(java.lang.Object... values) |
double |
getAx() |
double |
getAy() |
double |
getAz() |
int |
getFlags() |
double |
getVx() |
double |
getVy() |
double |
getVz() |
double |
getX() |
double |
getY() |
double |
getZ() |
DesiredLinearState |
setAx(double ax) |
DesiredLinearState |
setAy(double ay) |
DesiredLinearState |
setAz(double az) |
DesiredLinearState |
setFlags(int flags) |
DesiredLinearState |
setVx(double vx) |
DesiredLinearState |
setVy(double vy) |
DesiredLinearState |
setVz(double vz) |
DesiredLinearState |
setX(double x) |
DesiredLinearState |
setY(double y) |
DesiredLinearState |
setZ(double z) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, 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, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int FL_X
public static final int FL_Y
public static final int FL_Z
public static final int FL_VX
public static final int FL_VY
public static final int FL_VZ
public static final int FL_AX
public static final int FL_AY
public static final int FL_AZ
public static final int ID_STATIC
public DesiredLinearState()
public DesiredLinearState(IMCMessage msg)
public DesiredLinearState(IMCDefinition defs)
public DesiredLinearState(double x, double y, double z, double vx, double vy, double vz, double ax, double ay, double az, int flags)
public static DesiredLinearState create(java.lang.Object... values)
public static DesiredLinearState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getX()
public DesiredLinearState setX(double x)
x
- Desired pos in xx (m)public double getY()
public DesiredLinearState setY(double y)
y
- Desired pos in yy (m)public double getZ()
public DesiredLinearState setZ(double z)
z
- Desired pos in zz (m)public double getVx()
public DesiredLinearState setVx(double vx)
vx
- Desired Linear Speed in xx (m/s)public double getVy()
public DesiredLinearState setVy(double vy)
vy
- Desired Linear Speed in yy (m/s)public double getVz()
public DesiredLinearState setVz(double vz)
vz
- Desired Linear Speed in zz (m/s)public double getAx()
public DesiredLinearState setAx(double ax)
ax
- Desired Linear Acceleration in xx (m/s/s)public double getAy()
public DesiredLinearState setAy(double ay)
ay
- Desired Linear Acceleration in yy (m/s/s)public double getAz()
public DesiredLinearState setAz(double az)
az
- Desired Linear Acceleration in zz (m/s/s)public int getFlags()
public DesiredLinearState setFlags(int flags)
flags
- Flags (bitfield)