How do I program a button for autonomous mode?

I want button 11 to enable the autonomous mode.


Are you trying to enable it in Teleoperator mode? There is a button on the driver Station that can does it for your as well.

No, I want to start off on autonomous and not teleop.

If I don’t program a button for autonomous, then I can enable it on the driver station and have the code run?


You can not start off autonomous code with a button. To start autonomous code you have to select the option form the driver station console. In tele-op you can start a sequence of actions with a button, but you can not start off your competition autonomous with a button.


Thank you very much :slight_smile: