Gyro Drive Straight Code

Gyro Drive Straight- Each of these blocks combines to make the robot move a specific distance while correcting itself to stay on a straight path. It’s like telling the robot, “Go straight, and if you start turning, fix it!”

Version 3

Version 2

Version 2 of the Spike app