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) |
DeviceState(IMCMessage msg) |
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() |
DeviceState |
setPhi(double phi) |
DeviceState |
setPsi(double psi) |
DeviceState |
setTheta(double theta) |
DeviceState |
setX(double x) |
DeviceState |
setY(double y) |
DeviceState |
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 int ID_STATIC
public DeviceState()
public DeviceState(IMCMessage msg)
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 DeviceState setX(double x)
x
- Device Position - X (m)public double getY()
public DeviceState setY(double y)
y
- Device Position - Y (m)public double getZ()
public DeviceState setZ(double z)
z
- Device Position - Z (m)public double getPhi()
public DeviceState setPhi(double phi)
phi
- Device Rotation - X (rad)public double getTheta()
public DeviceState setTheta(double theta)
theta
- Device Rotation - Y (rad)public double getPsi()
public DeviceState setPsi(double psi)
psi
- Device Rotation - Z (rad)