![tcs34725 rgb sensor set value at 255 255 255 tcs34725 rgb sensor set value at 255 255 255](https://www.flatpanelshd.com/pictures/eizocg242w-1l.jpg)
GetGyroscope().roll is the rate of left or right spin, from -2,000° to 2,000° per second. GetGyroscope().pitch is the rate of forward or backward spin, from -2,000° to 2,000° per second. Provides the rate of rotation around a given axis measured by the gyroscope, from -2,000° to 2,000° per second. GetOrientation().yaw is the spin (twist) angle, from -180° to 180°. GetOrientation().roll is left or right tilt angle, from -90° to 90°. GetOrientation().pitch is the forward or backward tilt angle, from -180° to 180°. Provides the tilt angle along a given axis measured by the Gyroscope, in degrees. GetVerticalAcceleration() is the upward or downward acceleration regardless of the robot's orientation, from -8 to 8 g's. Math.sqrt((getAcceleration().x ** 2) + (getAcceleration().y ** 2) + (getAcceleration().z ** 2)) is the combined vector acceleration of all 3 axes, from 0 to 14 g's. GetAcceleration().z is the upward-to-downward acceleration, from -8 to 8 g's. GetAcceleration().y is the forward-to-back acceleration, from of -8 to 8 g's. GetAcceleration().x is the left-to-right acceleration, from -8 to 8 g's. Provides motion acceleration data along a given axis measured by the Accelerometer, in g's, where g = 9.80665 m/s^2. For example, "if accelerometer z-axis > 3G's, then set LED's to green." Querying sensor data allows you to react to real-time values coming from the robots’ physical sensors.