Activity #4: Tunnel Runner 1
(15 Points)


Description

I want you to program your robot to go into my tunnel, record the reading from the light sensor, back out of the tunnel, and display the result on the NXT display for 5 seconds. The robot only needs to do this activity one time without crashing!

Specific Tips

  • You may want to refer to Lesson 8 where we talked about creating variables and displaying them.
  • Look in your notes/log and figure out how to calibrate the light sensor.
  • Be sure to comment your code and include the names of your teammates.
  • Be sure to watch your tunnel speed!