|
(I do argue religiously)
What do you mean by "registering for 10 or more loops?" I assume that you mean both sensors are on for ten loops in a row. The problem is that on the ramp, the sensors will be on and off erratically(or so I think). How will your code distinguish this from actual line tracking data? On a frame by frame input/process loop, you can't look at the big picture. The robot only knows what happening in the current time.
I think I misread your top of the ramp notion though. The top of the ramp that is white I guess could easily be determined by that condition you stated. It's being on the incline that is the problem. The line won't get you all the way to the top, and it's near impossible to be sure that you're on the ramp. So you can't even tell your robot to go straight once you aren't tracking the line.
__________________
Ogun's Laughter is No Joke!!!
|