Learning Math and CS/STEAM with Robotics
Sign In

CSP Unit 3 Lesson 9.3a

Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
CSP Unit 3 Lesson 9.3a

Using the pre-placed code blocks, insert a driveDistance and a turnLeft command into the repeat loop, where the distance to be moved is 20 units and the turn angle is 137 degrees. Set the number of iterations to 12, with a speed of 8, so you can see how it works. After you get it running, experiment with different values for the number of iterations, the speed, the distance, and the angle. (The onscreen virtual robot can move very fast, up to about 200 inches/second. Hardware robots are limited to about 8 inches/second.)

Workspace Load Save Ch Ch Shell Console
Rubbish bin