Difference:
CSC102S2025Lab6
( vs. 1)
Revision 1
2025-02-18 -
CathyBareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC102SylS2025"
Tag along
Objectives
Reinforce parallel programming skills
Enhance use variables
Experience the pair programming technique
Assignment
Create a clean program that will allow your robot to follow another robot along a track.
The track will be a wide black line. The leading robot will follow that line.
You are to say between 20 and 40 centimeters behind the other robot. The other robot may speed up or slow down random amounts.
You may use the instructor's robot to see how the leading robot will do its task.
Stop when you encounter red on the line.
Additional requirements
All programming must be done following the simplified version of pair programming we covered in class.
It must use parallel programming. One branch for following the line, one branch for staying the right distance, and a third branch to handle the red.
It must use a variable to determine the speed of the motors.
Submission instructions
Due date is found on Canvas
Each person should create a pdf document that contains the following information
Your name
Your partner's name
A brief description of what you did
A brief description of what your partner did
How your team improved over any mistakes made last time
Indicate which hints (if any) your team used
How well you achieve each objective. Include a discussion about how pair programming went.
Submission:
Team member A submits the team's code and his/her pdf document in one zip folder.
Team member B submits his/her pdf document (does not need to be zip'ed)
Hints
For staying the right distance behind the robot
Challenges
Learn to use your own blocks
View topic
|
H
istory
:
r1
|
More topic actions...
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