Hello, I’m the programmer for my FRC team and we have decided to have multiple autonomouses and would like to be able to select them through the dashboard but I’m not sure how to do this, actually I have no idea so can anyone help me out? (We are using Labview 2016 not sure if it’s necessary granted where I’m posting this but I figure more information is better than not enough)
The template has code in Begin to list out the names of the autonomous selections. It has code in the Dashboard to show this list in the Drive tab and to write it to the robot via a NT Variable. In Auto, it will switch on the string that was chosen. That is the provided mechanism, but of course you can do something different if it suits your team.
Greg McKaskle
Note that the mode will need to be set before you power on your robot or the NT Write won’t update until the code is restarted.