Prelab2-light sensor-FALL2010

Prelab2-light sensor-FALL2010 - the light sensor facing...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE1882 Prelab 2 due Tue Oct 5, 2010 Name: You may use your notes and a calculator for this prelab. All work must be your own. In the next lab, you are going to explore several ways to use a light sensor to direct your tribot to follow a 2-inch-wide colored line. Your tribot starts with the light sensor on the line, facing in the general direction of the line (i.e. assume the line runs approximately between the wheels and over
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: the light sensor facing down onto the line). Below, draw a flowchart that describes a simple algorithm for following the line. Assume that the sensor can only output two values: BLACK and WHITE, indicating the color that it sees. Your flow chart should consider what the robot should do when it sees black and white and how it should command the tribot to move. (Hint: It may help to take a look at Lab 2 first.)...
View Full Document

This note was uploaded on 10/10/2010 for the course ECE 1882 taught by Professor Staff during the Fall '08 term at Georgia Institute of Technology.

Ask a homework question - tutors are online