gyro pitch - part-cw/lambdanative GitHub Wiki

(gyro-pitch)

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))