gyro roll - part-cw/lambdanative GitHub Wiki

(gyro-roll)

Returns the gyroscope's roll 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))