All Known Implementing Classes:
LauncherGateBlank, LauncherGateCRServoImpl, LauncherGateMotorImpl, LauncherGateServoImpl

public interface LauncherGate
Represents a launcher gate.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    You must set some of these if this subsystem is present.
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Close the gate (stop running actuator)
    double
    Get the power of the actuator.
    boolean
    Is the gate open?
    void
    Open the gate (start running actuator)
    void
    setPower(double power)
    Set the power at which the actuator will run when the gate is open.
    void
    Called by robot.update().
  • Method Details

    • open

      void open()
      Open the gate (start running actuator)
    • close

      void close()
      Close the gate (stop running actuator)
    • isOpen

      boolean isOpen()
      Is the gate open?
    • setPower

      void setPower(double power)
      Set the power at which the actuator will run when the gate is open. The new power to set.
    • getPower

      double getPower()
      Get the power of the actuator. (whether it's set or current power may depend on actuator type)
    • update

      void update()
      Called by robot.update(). You do not need to call this method.