Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 5.4

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.4

Using the turnAround function you defined in the previous exercise (pre-placed for you in the Workspace), along with the driveDistance, turnLeft(90 degrees), and traceOn commands, create the code that will have the Linkbot draw a large red + (plus) sign centered at the Linkbot's starting point. Each line of the + sign should be 12 units long (top to bottom, and left to right). The robot should only move forward, turn left, or turn around, and should end up in its starting position and orientation at the center of the + sign. Put the turnAround function definition at the end of the code.

Load Blocks
Hardware
LArduino
Workspace Show Ch Save File Console

		
Rubbish bin
Time