public class OrientData extends SensorData
DATA_FIELDS_USED, sensorInfo, time
Constructor and Description |
---|
OrientData(long time,
float[] values)
Constructor.
|
OrientData(long time,
float w,
float x,
float y,
float z)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getW()
qw getter.
|
float |
getX()
qx getter.
|
float |
getY()
qy getter.
|
float |
getZ()
qz getter.
|
deserialize, getTime, getValues, serialize
public OrientData(long time, float[] values)
time
- Timestamp [ms].values
- Orientation information qx, qy, and qz.public OrientData(long time, float w, float x, float y, float z)
time
- Time stamp [ms].w
- qw component.x
- qx component.y
- qy component.z
- qz component.