Class ButtonBoxServer
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
io.github.roboblazers7617.buttonbox.ButtonBoxServer
Class for robot-side ButtonBox logic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddControl(Control control) Adds a control to the ButtonBoxServer.voidperiodic()Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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- TheControlto add to the server.
-