View Single Post
  #7   Spotlight this post!  
Unread 24-02-2011, 16:31
sarangmittal's Avatar
sarangmittal sarangmittal is offline
Registered User
FRC #1683 (Techno Titans)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Atlanta GA
Posts: 20
sarangmittal is an unknown quantity at this point
Re: How to decide whether go left or right when the robot is at Y (bifurcate)

Quote:
Originally Posted by Patrickwhite View Post
If you want to have more control, i.e. if your alliance for whatever reason would prefer the left/right grid to have more ubertubes, you can pick up the state of a DigitalInput from the driver station, or map it to a button toggle in disabledContinuous(), as examples. You could even have a physical switch on the robot if you wanted, if your drivers are more comfortable with that.
Yeah. Our team has a switch or a knob that we can use to determine which direction to go. After that, once the robot gets to the split, use a if-then statement. The switch acts like a DigitalInput with 2 booleans
Reply With Quote