Class PlaneLauncher.Parameters

java.lang.Object
org.firstinspires.ftc.teamcode.fy23.robot.subsystems.PlaneLauncher.Parameters
Enclosing interface:
PlaneLauncher

public static class PlaneLauncher.Parameters extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.qualcomm.robotcore.hardware.Servo
    The servo that releases the rubberband, already instantiated and configured
    final boolean
    You already set this in the constructor and cannot set it again.
    final double
    You already set this in the constructor and cannot set it again.
    final double
    You already set this in the constructor and cannot set it again.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Parameters(boolean present, double releasePosition, double restPosition)
    Create a Parameters object and provide parameters that don't have default values.
  • 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 already set this in the constructor and cannot set it again.
    • planeServo

      public com.qualcomm.robotcore.hardware.Servo planeServo
      The servo that releases the rubberband, already instantiated and configured
    • releasePosition

      public final double releasePosition
      You already set this in the constructor and cannot set it again.
    • restPosition

      public final double restPosition
      You already set this in the constructor and cannot set it again.
  • Constructor Details

    • Parameters

      public Parameters(boolean present, double releasePosition, double restPosition)
      Create a Parameters object and provide parameters that don't have default values.
      Parameters:
      present - Is this subsystem installed on the robot?
      releasePosition - The position the servo should be at to release the rubberband
      restPosition - The position the servo should be at to enable resetting the rubberband