Class Claw

java.lang.Object
org.edu_nation.easy_ftc.mechanism.Claw

public class Claw extends Object
Implements a claw by extending the functionality of ServoMechanism
See Also:
  • Method Details

    • control

      public void control()
      Enable teleoperated claw movement with gamepad (b, a)
    • command

      public void command(Claw.Direction direction)
      Initiate an automated claw movement
      Parameters:
      direction - direction to move the mechanism; see Claw.Direction for accepted values
      Throws:
      NullPointerException - if direction is null
      IllegalArgumentException - if direction is an unexpected value