Knowledge Base

Get Gyro Axis Block

output-onlinepngtools__10_.png This block works for Ruby Robot! 

The Get Gyro Axis Block allows you to sample Ruby's angle on any of the three Gyro Axes:

X Axis - front tilt

Y Axis - side rotation 

Z Axis - side tilt

mceclip0.png

mceclip1.png

(top view)

mceclip2.png


You might use this block as a condition to a loop, or as a variable in your code, and program the robot to act according to this data.

mceclip0.png

 

See also:

Get Gyro Y Axis Block - useful for sampling the Y axis specifically.

Was this article helpful?
0 out of 0 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk