View Single Post
  #5   Spotlight this post!  
Unread 18-02-2011, 18:20
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: How to decide whether go left or right when the robot is at Y (bifurcate)

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.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote