Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 9.3a

Piano
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.)

Load Blocks
Hardware
LArduino
Workspace Save Show C Edit C Ch Shell Console

		
Rubbish bin
Time