Class PhysicalTestControl
java.lang.Object
io.github.roboblazers7617.buttonbox.Control
io.github.roboblazers7617.buttonbox.controls.TestControl
io.github.roboblazers7617.buttonbox.controls.PhysicalTestControl
-
Constructor Summary
ConstructorDescriptionPhysicalTestControl
(String id, Address address) Creates a new PhysicalTestControl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Interfaces with the buttonbox hardware and updates the state of the physical control.Methods inherited from class io.github.roboblazers7617.buttonbox.controls.TestControl
getValue, setupNetworkTables, setupSimulation, updateClient, updateServer
Methods inherited from class io.github.roboblazers7617.buttonbox.Control
getId, getTable, setTable, updateOnClient
-
Constructor Details
-
PhysicalTestControl
Creates a new PhysicalTestControl.- Parameters:
id
- The ID string for the PhysicalTestControl to use.address
- The address to send messages to.- See Also:
-
-
Method Details
-
updateHardware
public void updateHardware()Description copied from class:Control
Interfaces with the buttonbox hardware and updates the state of the physical control. Called afterControl.updateClient()
.This doesn't do anything by default, and should be overridden by the class inheritting this.
- Overrides:
updateHardware
in classTestControl
-