FANDOM


The SmartDashboard is a graphical user interface used to communicate information from the robot to the drivers (and the programmers, during testing).

Usage

To send data to the dashboard, use

SmartDashboard.putString("String name", "Data");

To get data, say

SmartDashboard.getString("String name");

You can also use Number (doubles) and Boolean (booleans) instead of String.

See also here for a little more information.

Benefits

Because we do not have direct access to the console for logging purposes (errors and warnings only), SmartDashboard can be used for debugging purposes. Additionally, you can put the camera on the dashboard, which is great for the drivers (especially with tall things like stacks of totes). It is also possible to make graphs of variables over time and more complex widgets using the smartdashboard. Refer the the WPILib Screensteps for more information on this.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.