Tags:
view all tags
Tag along
Objectives
Reinforce parallel programming skills
Enhance use variables
Improve 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.
Create one zip folder for the team
place your code (making sure it has a comment that includes the lab assignment and the name of all team members)
place each member's pdf in the folder
Have one team member submit it in canvas.
Hints
For staying the right distance behind the robot
Challenges
Learn to use your own blocks
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
R
aw View
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2022-08-23
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
Edit
Attach
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