Simple select box for choosing which autonomous to run.
- Copy the contents of
autoselection.htmlto wherever in the dashboard you desire. - Copy
autoselection.jsinto thecomponentsdirectory of your FRCDashboard system. - Link the script from
index.html, for example:
<script src="components/autoselection.js"></script>- If necessary, change the keys of the NetworkTables values used in
autoselection.jsto the keys your robot code uses.
Alternatively, you could just copy all the code into ui.js or other JavaScript script, but that's a bit tougher to keep organized.