Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 7.3

Piano
Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
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 Save Show C Edit C Ch Shell Console

		
Rubbish bin
Time