Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 5.3

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 5.3

Define a function named turnAround using the pre-placed code block. (Change "do something" to "turnAround".) Fill it with turnLeft(angle 90) commands so that the function, when called, will turn the Linkbot around 180 degrees. Then add the code block that will call the turnAround function (found in the Functions tab) and finallly add a code block to move the robot forward 10 units after it turns around, drawing the path in red as usual. (The blue line shows the intended path.)

Load Blocks
Hardware
LArduino
Workspace Show Ch Save File Console

		
Rubbish bin
Time