public class GyrData extends SensorData
DATA_FIELDS_USED, sensorInfo, time
Constructor and Description |
---|
GyrData(long time,
float[] values)
Constructor.
|
GyrData(long time,
float x,
float y,
float z)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getX()
X-angular rate getter.
|
float |
getY()
Y-angular rate getter.
|
float |
getZ()
Z-angular rate getter.
|
deserialize, getTime, getValues, serialize
public GyrData(long time, float[] values)
time
- Timestamp [ms].values
- Measured angular rate in x-, y-, and z-direction.public GyrData(long time, float x, float y, float z)
time
- Timestamp [ms].x
- Measured angular rate in x-direction.y
- Measured angular rate in y-direction.z
- Measured angular rate in z-direction.