Addon for direct manipulation of individual NetworkTables values through FRC Dashboard.
NOTE: this addon is included in the default FRCDashboard code, so you probably shouldn't need to use this repository.
- Copy the contents of
tuning.htmlto wherever in the dashboard you desire. For this addon, the HTML should already be on your dashboard, but it's included in case you removed it. - Copy
tuning.jsinto thecomponentsdirectory of your FRCDashboard system. - Link the script from
index.html, for example:
<script src="components/tuning.js"></script>- Copy
tuning.cssto thecssdirectory in your FRCDashboard system. - Link the CSS from
index.html, for example:
<link rel="stylesheet" href="css/tuning.css">- In
tuning.js, replace all sources with actual sources of your camera feeds. - If necessary, change the keys of the NetworkTables values used in
tuning.jsto the keys your robot code uses.
Alternatively, you could just copy all the JavaScipt code into ui.js or other preexisting JavaScript script, but that's a bit tougher to keep organized.