View Single Post
  #5   Spotlight this post!  
Unread 29-01-2011, 23:41
wazcodez's Avatar
wazcodez wazcodez is offline
Registered User
AKA: Megh Suthar
FRC #2076 (Blackscots)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2008
Location: Toronto
Posts: 19
wazcodez is infamous around these partswazcodez is infamous around these parts
Send a message via MSN to wazcodez
Re: 3374 Robot Custom Line Tracking and early teaser...

Quote:
Originally Posted by Carter12s View Post
I don't have a copy of the code with me right now, but i will post one tomorrow. The general idea is that I took the three boolean inputs from the line sensors and built them into an array. I then convert the array into an integer which feeds into a case structure. The case structure picks what the appropriate horizontal movement should be for the each combination of the sensors. When i can take some screen shots of it I will put them up. Thanks for the interest!

Carter Schultz
Thanks Carter
__________________
" When you copy from one source it's called plagiarism when u copy from multiple it's Research .. ! " - Megh Suthar