You Are Here:


The gyroscope sensor measures the rate of rotation around the X, Y and Z axis. Unlike the accelerometer, the gyro is not affected by gravity. The coordinate system is the same as is used for the acceleration sensor. Rotation is positive in the counter-clockwise direction for pitch and roll (not yaw). 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.

Sensor data

values[0] – Angular speed around the x-axis, in radians/second

values[1] – Angular speed around the y-axis, in radians/second

values[2] – Angular speed around the z-axis, in radians/second