Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 9.3b

Piano MinView
Linkbot Image Mindstorm Image
x-12-606121824y24181260-6-12
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
Labels:
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Simple View: Grid Size: S M L
CSP Unit 3 Lesson 9.3b

Using the pre-placed code blocks, insert a driveDistance and a turnLeft command into the for loop, where the distance to be moved is 20 units and the turn angle is 137 degrees. Make the number of iterations 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 Show Ch Save File Console

		
Rubbish bin
Time