Gyro Blocks example

Here’s some code I threw together for GYRO turns.

image

By making the velocity dependent on the rotation, you get a nice slowdown so you don’t overshoot your target. If you did, the bot would correct.

Here’s a video of the code running:

7 Likes