View Single Post
  #4   Spotlight this post!  
Unread 17-02-2011, 23:26
kinganu123 kinganu123 is offline
Registered User
FRC #1747
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Piscataway, NJ
Posts: 243
kinganu123 is on a distinguished road
Re: line sensing code

Quote:
Originally Posted by jackdawg View Post
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
__________________
Reply With Quote