Learning CS and Math with Robotics

CSP Unit 3 Lesson 7.3

Piano MinView
Linkbot Image Mindstorm Image
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
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
Workspace Show Ch Save File Console

Rubbish bin