View Single Post
  #13   Spotlight this post!  
Unread 01-02-2011, 13:15
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Possible solution

The thing our team did was decide on a setup for the sensors....
It looks something like this:
Click image for larger version

Name:	diagram.GIF
Views:	31
Size:	2.4 KB
ID:	9913
After deciding on this setup we came up with a boolean setup that would, based on which lights were coming back true, turn the robot. We also made the sensory aspect of this custom code activate by pressing and holding button one. When this happened, the robot would no longer recieve x-values from the controller but recieve x-values from the code. It still allowed for y-axis values from the contoller.
__________________

jRIO 2013 Project
Reply With Quote