public class DeviceState extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
DeviceState() |
DeviceState(float x,
float y,
float z,
float phi,
float theta,
float psi) |
DeviceState(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
static DeviceState |
clone(IMCMessage msg) |
static DeviceState |
create(java.lang.Object... values) |
double |
getPhi() |
double |
getPsi() |
double |
getTheta() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setPhi(double phi) |
void |
setPsi(double psi) |
void |
setTheta(double theta) |
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 DeviceState()
public DeviceState(IMCDefinition defs)
public DeviceState(float x, float y, float z, float phi, float theta, float psi)
public static DeviceState create(java.lang.Object... values)
public static DeviceState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getX()
public double getY()
public double getZ()
public double getPhi()
public double getTheta()
public double getPsi()
public void setX(double x)
x
- Device Position - X (m)public void setY(double y)
y
- Device Position - Y (m)public void setZ(double z)
z
- Device Position - Z (m)public void setPhi(double phi)
phi
- Device Rotation - X (rad)public void setTheta(double theta)
theta
- Device Rotation - Y (rad)public void setPsi(double psi)
psi
- Device Rotation - Z (rad)