Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 7.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 7.3

The last activity introduced the concept of commands accepting input values via a "parameter." Later on we will learn how to create our own functions that use parameters, but for this activity we will get more practice with them. Using the driveDistance command, along with either turnLeft and/or turnRight, create the code that will direct the robot to trace the path shown by the blue triangle and return to its starting position. The triangle has three equal sides of length 10.

Load Blocks
Hardware
LArduino
Workspace Show Ch Save File Console

		
Rubbish bin
Time