This block measures the rate of rotation in the horizontal plane of the sensor as well as the direction of rotation. It returns the reading as the number of degrees per second of rotation. This enables your robot to determine which direction it is rotating and thus adjust its position. Outputs are sent by data wires.