To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 11032
11031  |  11033
Subject: 
Re: Line Tracker/Follower
Newsgroups: 
lugnet.robotics
Date: 
Wed, 15 Mar 2000 04:46:27 GMT
Viewed: 
1070 times
  
In lugnet.robotics, Kevin Barnard writes:
OK, so I am a dunce. My 8th grade robotics class, and myself, can't make and
program a line follower that works!!! I tried the one in the amusement park,
and it didn't work. We can get it to react to one  part correctly, but not to
react to both directions (whether on light or dark) correctly.

We are using Robolab 1.5

any help out there?

The following Robolab 1.5 program assumes the bot will be started with the
light sensor on the black line:

Begin
Light Container (into red)
Add to Container 6 (red container)
Motor A Forward (power 2)
Stop C
Red Land
Light Sensor Fork (w light sensor input, and red container as Compare to)
(Greater than fork)
Stop A
Motor C Forward (power 2)
(Less than fork)
Motor A Forward (power 2)
Stop C
Fork Merge
Red Jump
End

This simplistic program tracks a line ok, but when it looses the line it may
not find it again. You can add a timer fork to execute another routine if a
black line cannot be found within a given time.

Dave Baum in his book Definitive Guide to Lego Mindstorms covered basic line
following in Chapter 8. On the CD with the book, there are several example
programs for a line follower in both Robolab 1.5 and 2.0 (Thanks to Ben Erwin
at Tufts!)



Message is in Reply To:
  Line Tracker/Follower
 
OK, so I am a dunce. My 8th grade robotics class, and myself, can't make and program a line follower that works!!! I tried the one in the amusement park, and it didn't work. We can get it to react to one part correctly, but not to react to both (...) (25 years ago, 14-Mar-00, to lugnet.robotics)

6 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
5 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR