Package frc.robot.shuffleboard
Class DriverStationTab
java.lang.Object
frc.robot.shuffleboard.ShuffleboardTabBase
frc.robot.shuffleboard.DriverStationTab
Add your docs here.
-
Constructor Summary
ConstructorDescriptionDriverStationTab
(edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj2.command.Command> autoChooser, edu.wpi.first.wpilibj.DigitalInput button) -
Method Summary
Modifier and TypeMethodDescriptionvoid
This will be called when the tab is added to shuffleboard.return the name of the network table being pushed to (not including the logging/)void
update()
This will be called every 20ms.
-
Constructor Details
-
DriverStationTab
public DriverStationTab(edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj2.command.Command> autoChooser, edu.wpi.first.wpilibj.DigitalInput button)
-
-
Method Details
-
update
public void update()Description copied from class:ShuffleboardTabBase
This will be called every 20ms.- Specified by:
update
in classShuffleboardTabBase
-
activateShuffleboard
public void activateShuffleboard()Description copied from class:ShuffleboardTabBase
This will be called when the tab is added to shuffleboard. Prior to this data can be written to network tables but a shuffleboard tab can never be created.- Specified by:
activateShuffleboard
in classShuffleboardTabBase
-
getNetworkTable
Description copied from class:ShuffleboardTabBase
return the name of the network table being pushed to (not including the logging/)- Specified by:
getNetworkTable
in classShuffleboardTabBase
-