Tags:
tag this topic
create new tag
view all tags
---++Component 6 Combine previous labs and add following a line. Your robot is to follow a line (down the center of the robot), following my robot that is also following the line (staying within 2.5-3.5 robot lengths of me). If it runs over a stop sign (i.e. red), it should stop. If someone runs into it form behind, it should sound the alarm, spin around (180 degrees) and stop. ---+++Details * The "leader" follow the same black line and vary its speed slightly ---+++Parts * You will need an ultrasonic sensor on the front * You will need a color sensor in the "middle" of your robot pointing down. * You will need a touch sensor on the back of your robot facing out. * Use a block to follow the line * Use a block to adjust the speed (and a variable) * Use a block to react to the touch sensor being pressed * Use parallel programming to deal with the color sensor to stop the robot. ---+++Challenges * Have the display constantly update the min. and max. distance encountered between you and the leading robot.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2021-09-08
-
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
E
dit
A
ttach
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