Class ClawBlank
java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.blank.ClawBlank
- All Implemented Interfaces:
Claw
A blank implementation of
Claw
that does nothing.
Never returns null (returns blank objects instead where applicable), so hopefully no null pointers.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.fy23.robot.subsystems.Claw
Claw.Parameters, Claw.State
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetState()
Get the currently set state of the claw.void
setState
(Claw.State state) Set the desired state of the claw, and it will move to reach that state.void
update()
Called by robot.update().
-
Constructor Details
-
ClawBlank
public ClawBlank()
-
-
Method Details
-
setState
Description copied from interface:Claw
Set the desired state of the claw, and it will move to reach that state. -
getState
Description copied from interface:Claw
Get the currently set state of the claw. -
update
public void update()Description copied from interface:Claw
Called by robot.update(). You do not need to call this method.
-