Class Trigger

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

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

    • control

      public void control()
      Enable teleoperated trigger movement with gamepad (y, x)
    • command

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