Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

Returns the gyroscope's pitch rotation

Example

Example 1: Log the current gyroscope rotations in all three dimensions (yaw, pitch and roll)

(log-status "YAW:" (float->choppedstring (gyro-yaw) 6) 
            " PITCH:" (float->choppedstring (gyro-pitch) 6) 
            " ROLL:" (float->choppedstring (gyro-roll) 6))
Clone this wiki locally