All Known Implementing Classes:
ClawBlank, ClawImpl

public interface Claw
Represents a claw and its state (open or closed).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static enum 
    Represents the state of the claw.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the currently set state of the claw.
    void
    Set the desired state of the claw, and it will move to reach that state.
    void
    Called by robot.update().
  • Method Details

    • setState

      void setState(Claw.State state)
      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.