
26-01-2004, 07:33
|
 |
 |
Why did I come back?
AKA: Jamie Bliss
 FRC #4967 (That ONE Team)
Team Role: Mentor
|
|
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
|
|
|
Re: Line Tracking Times?
Quote:
|
Originally Posted by Sachiel7
Anyway, if you're going with linetracking, the code is very simple, and the sensory required isn't that much. If you want to improve your speed, here's a few tips:
*Use 3 banners, Left - Center - Right.
*Make sure your bot is almost always going forward. Here's a movement table:
LEFT. CENT. RGHT.
LEFT HL LL F
CENT LL F LR
RGHT F LR HR
Where: H = Hard, L = Light, R = Right, L = Left, and F = Forward
When no signal is present, I suggest you add in a small "buffer" into your program to look at the previous few seconds of input. If it sees that it had a signal on the right, and lost all signals, then it kows it needs to make a sharp sharp right. In all the movements, even hard turns, include a bit (25% or so at least) of forward motion. The only time you shouldn't go forward is when you lose the whole signal.
|
Huh?
|