Unlike SmartDashboard, data cannot be sent directly to Shuffleboard without first specifying what tab the data should be placed in.
Sending simple data¶
Sending simple data (numbers, strings, booleans, and arrays of these) is done by calling
add on a tab. This method will set the value if not already present, but will not overwrite an existing value.
If data needs to be updated (for example, the output of some calculation done on the robot), call
getEntry() after defining the value, then update it when needed or in a
Making choices persist between reboots¶
When configuring a robot from the dashboard, some settings may want to persist between robot or driverstation reboots instead of having drivers remember (or forget) to configure the settings before each match.
Simply using addPersistent instead of add will make the value saved on the roboRIO and loaded when the robot program starts.
This does not apply to sendable data such as choosers or motor controllers.
Sending sensors, motors, etc¶
Sendable object (most sensors, speed controllers, and SendableChoosers) can be added to any tab