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

public static class Claw.Parameters extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.qualcomm.robotcore.hardware.Servo
    The servo that drives the claw, already instantiated and configured
    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.
    final boolean
    You already set this in the constructor and cannot set it again.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Parameters(boolean present, double openPosition, double closePosition)
    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.
    • clawServo

      public com.qualcomm.robotcore.hardware.Servo clawServo
      The servo that drives the claw, already instantiated and configured
    • openPosition

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

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

    • Parameters

      public Parameters(boolean present, double openPosition, double closePosition)
      Create a Parameters object and provide parameters that don't have default values.
      Parameters:
      present - Is this subsystem installed on this robot?
      openPosition - The servo position (between 0 and 1) that the claw is considered open
      closePosition - The servo position (between 0 and 1) that the claw is considered closed