Quote:
Originally Posted by xForceDee
Hello Everyone,
I could have swore I saw a post similar to this earlier, however, I cannot seem to find it. Anyway, a little refresher never hurt anyone. My question is: how do I implement a way to switch between a few different autonomous commands in command-based using a smartdashboard button. Ideally, I would like to be able to place our robot in three different spots and then have the driver push one of the three corresponding buttons on the smartdashboard and have it execute that specific command. Sorry if that was unclear. Thanks in advance for the help.
|
SmartDashboard.putData(yourCommand)