Quote:
Originally Posted by jackdawg
i have been looking at the default line sensor code and i cant seem to make heads or tails of it. has anyone written it from scratch? is it difficult to figure out??
|
The default line sensor code essentially determines how to run the bot every some amount of seconds. That is either by goin forward full force, or turning and goin sideways
I'd suggest using a truth table, as the guide on NI suggest
Only problem is tat it makes the bot zigzag a lot over the line