Skip to content

ShuffleboardUtil

CaedmonM edited this page Jan 12, 2026 · 5 revisions

Static Badge

Notice: Shuffleboard and SmartDashboard have already been deprecated. They will be removed for the 2027 season. As a result, this part of the library will only be available through 2026. We recommend switching to NetworkTablesUtil for future support.

Usage

import com.btwrobotics.WhatTime.frc.DashboardManagers.ShuffleboardUtil;

The ShuffleboardUtil class provides an easy way to display data on the Shuffleboard using the WPILib SmartDashboard system. It supports multiple data types with overloaded put() methods.

Methods

Put a number to the Shuffleboard using a key:

public static void put(String key, double value)

Put a string to the Shuffleboard using a key:

public static void put(String key, String value)

Put a boolean to the Shuffleboard using a key:

public static void put(String key, boolean value)

Puts a generic object to the Shuffleboard with type detection and formatting:

public static void put(String key, Object value)

Example Usage

ShuffleboardUtil.put("Arm Angle", 37.5);
ShuffleboardUtil.put("Status", "Retracted");
ShuffleboardUtil.put("Intake Active", true);

Object customValue = 42;
ShuffleboardUtil.put("Custom Number", customValue);