Class LauncherGate.Parameters

java.lang.Object
org.firstinspires.ftc.teamcode.fy25.subsystems.launchergate.LauncherGate.Parameters
Enclosing interface:
LauncherGate

public static class LauncherGate.Parameters extends Object
You must set some of these if this subsystem is present.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.qualcomm.robotcore.hardware.HardwareDevice
    The actuator that will run the gate, already instantiated and configured.
    The class of the actuator that will run the gate.
    double
    Velocity of gate motor in ticks per second
    final boolean
    You have already set this in the constructor and cannot set it again.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Parameters(boolean present)
    Create a Parameters object and provide necessary parameters.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • present

      public final boolean present
      You have already set this in the constructor and cannot set it again.
    • deviceClass

      public Class deviceClass
      The class of the actuator that will run the gate. Example: for a Servo, this would be 'Servo.class'. Has no default.
    • device

      public com.qualcomm.robotcore.hardware.HardwareDevice device
      The actuator that will run the gate, already instantiated and configured. Has no default.
    • power

      public double power
      Velocity of gate motor in ticks per second
  • Constructor Details

    • Parameters

      public Parameters(boolean present)
      Create a Parameters object and provide necessary parameters.
      Parameters:
      present - Is this subsystem installed on this robot?