| java.lang.Object | ||
| ↳ | com.neomades.io.sensor.SensorData | |
| ↳ | com.neomades.io.sensor.categories.GyroscopeData | |
This class holds the data of the gyroscope.
Gyroscope data are the rotation rate in radians / second around the device's local X, Y and Z axis. The coordinate system is the same as the one used for the acceleration sensor. Rotation is positive in the counter-clockwise direction. That is, an observer looking from some positive location on the x, y or z axis at a device positioned on the origin would report positive rotation if the device appeared to be rotating counter clockwise.
The precision can vary a lot, depending on performances of the device embedded sensor.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| double[] |
getValues()
Gets angular speed around x, y and z axis - unit (radians/seconds).
| ||||||||||
| double |
getX()
Gets angular speed x around axis - unit (radians/seconds).
| ||||||||||
| double |
getY()
Gets angular speed around y axis - unit (radians/seconds).
| ||||||||||
| double |
getZ()
Gets angular speed around z axis - unit (radians/seconds).
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.neomades.io.sensor.SensorData
| |||||||||||
From class
java.lang.Object
| |||||||||||
Gets angular speed around x, y and z axis - unit (radians/seconds).
Gets angular speed x around axis - unit (radians/seconds).
Gets angular speed around y axis - unit (radians/seconds).
Gets angular speed around z axis - unit (radians/seconds).