Knowledge Base

Get Robot Speed Block

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

Need to know how fast your robot is going? That's exactly what the Get Robot Speed block is for.

Use it as a condition for loops or as a variable in your code.


Example Code:

The robot will brake both wheels while the robot's speed is greater than 0.

Eventually, after enough brakes applied, the robot's speed will reach zero.


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


Please sign in to leave a comment.