FRC1761 / RoboRioCode

RobotSource Code for FRC using Roborio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Give SmartDashboard a button that indicates which side of field we start on #6

Closed ankiewiczk closed 4 years ago

ankiewiczk commented 6 years ago

We need a button on the dashboard to indicate which side of the field we start on.
It will need to be compared against L or R so we need to have a clear mapping, maybe L(eft), C(enter), or R(ight). I suggest center in case we are stuck in the middle and should indicate not to fire for the switch at all. We might want to do this if both our alliance teammates can do autonomous and we will immediately use our preloaded powerbox to throw in the exchange.

This needs to be read from the autonomous code along with the side of the field from the FMS,

ankiewiczk commented 6 years ago

http://wpilib.screenstepslive.com/s/currentCS/m/smartdashboard/l/255423-setting-robot-preferences-from-smartdashboard