Class IntakeExtension.IntakeExtensionConfig

java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.intakeExtension.IntakeExtension.IntakeExtensionConfig
Enclosing class:
IntakeExtension

public static class IntakeExtension.IntakeExtensionConfig extends Mechanism.Config
  • Constructor Details

    • IntakeExtensionConfig

      public IntakeExtensionConfig()
  • Method Details

    • modifyMotorConfig

      public IntakeExtension.IntakeExtensionConfig modifyMotorConfig(com.ctre.phoenix6.hardware.TalonFX motor)
    • getInitPosition

      public double getInitPosition()
    • getTriggerTolerance

      public double getTriggerTolerance()
    • getZeroSpeed

      public double getZeroSpeed()
    • getHoldMaxSpeedRPM

      public double getHoldMaxSpeedRPM()
    • getMaxRotations

      public double getMaxRotations()
      Overrides:
      getMaxRotations in class Mechanism.Config
    • setMaxRotations

      public void setMaxRotations(double maxRotations)
    • getMinRotations

      public double getMinRotations()
      Overrides:
      getMinRotations in class Mechanism.Config
    • setMinRotations

      public void setMinRotations(double minRotations)
    • getCurrentLimit

      public double getCurrentLimit()
    • getTorqueCurrentLimit

      public double getTorqueCurrentLimit()
    • getPositionKp

      public double getPositionKp()
    • getPositionKd

      public double getPositionKd()
    • getPositionKv

      public double getPositionKv()
    • getPositionKs

      public double getPositionKs()
    • getPositionKa

      public double getPositionKa()
    • getPositionKg

      public double getPositionKg()
    • getMmCruiseVelocity

      public double getMmCruiseVelocity()
    • getMmAcceleration

      public double getMmAcceleration()
    • getMmJerk

      public double getMmJerk()
    • getSensorToMechanismRatio

      public double getSensorToMechanismRatio()
    • setSensorToMechanismRatio

      public void setSensorToMechanismRatio(double sensorToMechanismRatio)
    • getRotorToSensorRatio

      public double getRotorToSensorRatio()
    • setRotorToSensorRatio

      public void setRotorToSensorRatio(double rotorToSensorRatio)
    • getCANcoderRotorToSensorRatio

      public double getCANcoderRotorToSensorRatio()
    • setCANcoderRotorToSensorRatio

      public void setCANcoderRotorToSensorRatio(double CANcoderRotorToSensorRatio)
    • getCANcoderSensorToMechanismRatio

      public double getCANcoderSensorToMechanismRatio()
    • setCANcoderSensorToMechanismRatio

      public void setCANcoderSensorToMechanismRatio(double CANcoderSensorToMechanismRatio)
    • getCANcoderOffset

      public double getCANcoderOffset()
    • setCANcoderOffset

      public void setCANcoderOffset(double CANcoderOffset)
    • isCANcoderAttached

      public boolean isCANcoderAttached()
    • setCANcoderAttached

      public void setCANcoderAttached(boolean CANcoderAttached)
    • getIntakeX

      public double getIntakeX()
    • getIntakeY

      public double getIntakeY()
    • getExtensionMass

      public double getExtensionMass()
    • getDrumRadiusMeters

      public double getDrumRadiusMeters()
    • getExtensionGearing

      public double getExtensionGearing()
    • getAngle

      public double getAngle()
    • getStaticLength

      public double getStaticLength()
    • getMovingLength

      public double getMovingLength()
    • getLineWidth

      public double getLineWidth()
    • getMaxExtensionHeight

      public double getMaxExtensionHeight()