Class ButtonBoxServer
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
io.github.roboblazers7617.buttonbox.ButtonBoxServer
Class for robot-side ButtonBox logic.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addControl
(Control control) Adds a control to the ButtonBoxServer.void
periodic()
Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
ButtonBoxServer
public ButtonBoxServer()Creates a new ButtonBoxServer.
-
-
Method Details
-
periodic
public void periodic() -
addControl
Adds a control to the ButtonBoxServer.- Parameters:
control
- TheControl
to add to the server.
-