Tags:
create new tag
view all tags
Lab 4 – Tuesday, September 14, 2021

Topic: Loops, Selection, and Parallel Programming

Description: This lab session will focus on getting your vehicle to drive itself around a “track” and make adjustments based on sensor feedback.

Details:

  1. The “track” is a path drawn on the large roll of paper taped to the floor in the professor’s office. You need to move counterclockwise around the track.
Components:
  1. Go to Units and select Robot Trainer. Complete the Colors and Lines tutorial.
  2. Use the color sensor you added during the tutorial to guide the vehicle along the path. If the sensor goes off the path, the vehicle should turn until it finds the path again and then continue along the path (similar to the tutorial).
  3. Your vehicle should stop if the center brick button is pressed.
Extra Credit:
  1. Add a touch sensor to stop if the vehicle runs into something.
  2. Minimize the amount of zig-zag’ing as much as possible to ensure a smooth trajectory around the track.
Topic revision: r1 - 2021-08-24 - craiggoehler
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback