<b><u>Lab 4 Tuesday, September 14, 2021</u></b> 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 professors office. You need to move counterclockwise around the track. Components: 1 Go to *Units* and select *Robot Trainer*. Complete the <b>Colors and Lines </b>tutorial. 1 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). 1 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. 1 Minimize the amount of zig-zaging as much as possible to ensure a smooth trajectory around the track.
This topic: CenterForComputing
>
WebHome
>
SyllabiFall2021
>
CSC102SylF2021
>
CSC102Lab4F2021
Topic revision: r1 - 2021-08-24 - craiggoehler
Copyright © 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