Shuffleboard Logging - Decatur-Robotics/Common-Library-And-Wiki GitHub Wiki
Shuffleboard Logging
First, in RobotContainer, create a static ShuffleboardTab to store our tab for logging:
public static ShuffleboardTab shuffleboard = Shuffleboard.getTab("SmartDashboard");
We can access this from anywhere by doing RobotContainer.shuffleboard.
To log a value, we can do (Replace Double with the data type you want to log and only run this code once for the value):
shuffleboard.addDouble("Value Name", ()->value);