Class PhysicalTestControl
java.lang.Object
io.github.roboblazers7617.buttonbox.Control
io.github.roboblazers7617.buttonbox.controls.TestControl
io.github.roboblazers7617.buttonbox.controls.PhysicalTestControl
-
Constructor Summary
ConstructorsConstructorDescriptionPhysicalTestControl(String id, DoubleAddress address) Creates a new PhysicalTestControl. -
Method Summary
Modifier and TypeMethodDescriptionvoidInterfaces 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, updateServerMethods 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:ControlInterfaces 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:
updateHardwarein classTestControl
-