
01-04-2011, 13:10
|
|
Registered User
AKA: Colin Feeney
 FRC #3716 (WARP)
Team Role: Programmer
|
|
Join Date: Jan 2011
Rookie Year: 2009
Location: Manhasset, NY
Posts: 41
|
|
|
Re: Line Following
Quote:
Originally Posted by Jared341
Unless your line sensors are really far apart (and even if they are), it will always be possible for two of the three to see the line at once. You don't seem to have coded logic to take care of this case.
For example, currently, if your LEFT and MIDDLE see the tape, but the right does not, you would turn right with the code you posted. Is this really what you want?
If you start driving straight but then seem to veer off to the side, perhaps this is the issue?
|
Maybe. I'll do some testing today. I'll keep you guys posted.
|