Class Turret.TurretConfig

java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.turret.Turret.TurretConfig
Enclosing class:
Turret

public static class Turret.TurretConfig extends Mechanism.Config
  • Constructor Details

    • TurretConfig

      public TurretConfig()
  • Method Details

    • modifyMotorConfig

      public Turret.TurretConfig modifyMotorConfig(com.ctre.phoenix6.hardware.TalonFX motor)
    • isReversed

      public boolean isReversed()
    • setReversed

      public void setReversed(boolean reversed)
    • getInitPosition

      public double getInitPosition()
    • getTriggerTolerance

      public double getTriggerTolerance()
    • getUnwrapTolerance

      public double getUnwrapTolerance()
    • getZeroSpeed

      public double getZeroSpeed()
    • getHoldMaxSpeedRPM

      public double getHoldMaxSpeedRPM()
    • 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()
    • getSimRatio

      public double getSimRatio()
    • getLength

      public double getLength()