TXT
Discovery Set
ROBOTICS
30
Trail Searcher
With this model the camera is used
to make the robot move along a line.
The amazing part of trail searching
with the camera is that, in addition
to recognizing whether a track is
present, it can also detect its precise position
and output it in the camera image. This allows the robot
to react and either move straight ahead, when the trail is exactly in the
middle of the image or correct its motion to the left or right, when the
trail is not in the middle.
The objective is for the robot to find the black line and move along it.
But one thing at a time. First, it is necessary build the trail searcher
model. Naturally the assembly instructions describe how to do this.
After you have completed the model, you should check it with the
interface test
to ensure that all components are properly connected to
the
ROBOTICS TXT Controller
and are working correctly.
Task 1: Recognition of a trail
Program the robot so that it follows a straight black trail when
placed on it. If it loses the trail or it ends, the robot should stop.
Use the obstacle course from the construction set for this task.
Programming Tips:
Use the obstacle course from the construction set to test the black trail.
Set the camera so that the trail is in proper focus in the ROBO Pro
camera window.
Use the camera "Line" sensor field for detecting the trail. It consists of a
straight line in the camera image, located across the image from left to
right with a scale from -100 to +100. 0 is precisely in the middle.
Summary of Contents for ROBOTICS ADVANCED
Page 1: ......