Interface Claw
public interface Claw
Represents a claw and its state (open or closed).
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static enum
Represents the state of the claw. -
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().
-
Method Details
-
setState
Set the desired state of the claw, and it will move to reach that state. -
getState
Claw.State getState()Get the currently set state of the claw. -
update
void update()Called by robot.update(). You do not need to call this method.
-