|
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.
|