To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.us.laflrcOpen lugnet.org.us.laflrc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / United States / LafLRC / 105
104  |  106
Subject: 
Re: Identify a zig
Newsgroups: 
lugnet.org.us.laflrc
Date: 
Tue, 11 Oct 2005 20:32:37 GMT
Viewed: 
885 times
  
On Tue, October 11, 2005 2:14 pm, Clark Stephens wrote:
In lugnet.org.us.laflrc, Steve Hassenplug wrote:
So, the question is, how do I identify a zig-zag?  Any thoughts?

Could you treat it as a broken line?

That is, only 'see' the part of the line that is on a straight path through the
zigzag.

I assume you have to program the robot to ignore the cross line of the loop in
the course pictured:
http://www.chibots.org/contests/may2004/pictures/DSCN3660-tb.html
adjust the tolerance of that cross-avoidance to include the angle of the zig and
'look ahead' enough to see the next zag (which will also look like a cross with
breaks before and after).

With my current program, I really can't treat it like a broken line, because it's
NOT a broken line.  :)

As long as the line is under the row of seven light sensors, the robot knows how it
needs to adjust.  When it passes an intersection, the line is still under the other
sensors, so it goes straight.  If the line passes under one of the outside sensors,
then is not visible, the robot turns towards that sensor.

I'll still have to think about how I can use what you're suggesting.  It's an
interesting idea.

Thanks
Steve



Message is in Reply To:
  Re: Identify a zig
 
(...) Could you treat it as a broken line? That is, only 'see' the part of the line that is on a straight path through the zigzag. I assume you have to program the robot to ignore the cross line of the loop in the course pictured: (URL) the (...) (19 years ago, 11-Oct-05, to lugnet.org.us.laflrc)

13 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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