Introduction to Robotics/Printouts/Lab2 Checklist

< Introduction to Robotics < Printouts


Name:_________________________________

Date: 09 / 15 / 2015
Control Flow Lab

Tasks:

  • Use nested loops to make 3 laps of a square
  • Use nested loops to make a zig-zag path
  • Move the robot forward 6 inches without using FOR / NEXT loops
  • The BoeBot travels 6 inches, stopping for 1 second after every inch (5 stops)
  • Use subroutines to make 3 laps of a square
  • Use subroutines to make a figure-8
  • Use subroutines to make a 4-leaf clover
  • Using the code provided in the handout, make the robot follow the straight 12-foot line.

Notes:

This article is issued from Wikiversity - version of the Tuesday, September 15, 2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.