Class Elevator.ElevatorConfig

java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.elevator.Elevator.ElevatorConfig
Direct Known Subclasses:
PhotonElevatorConfig
Enclosing class:
Elevator

public static class Elevator.ElevatorConfig extends Mechanism.Config
  • Constructor Details

    • ElevatorConfig

      public ElevatorConfig()
  • Method Details

    • configSupplyCurrentLimit

      public void configSupplyCurrentLimit(double currentLimit)
      Use these method to set the config for the mechanism on each robot
    • isPhoton

      public boolean isPhoton()
    • setPhoton

      public Elevator.ElevatorConfig setPhoton(boolean isPhoton)
      Returns:
      this.
    • getMaxRotations

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

      public Elevator.ElevatorConfig setMaxRotations(double maxRotations)
      Returns:
      this.
    • getMinRotations

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

      public Elevator.ElevatorConfig setMinRotations(double minRotations)
      Returns:
      this.
    • getFullExtend

      public double getFullExtend()
    • setFullExtend

      public Elevator.ElevatorConfig setFullExtend(double fullExtend)
      Returns:
      this.
    • getHome

      public double getHome()
    • setHome

      public Elevator.ElevatorConfig setHome(double home)
      Returns:
      this.
    • getClawGroundAlgaeIntake

      public double getClawGroundAlgaeIntake()
    • setClawGroundAlgaeIntake

      public Elevator.ElevatorConfig setClawGroundAlgaeIntake(double clawGroundAlgaeIntake)
      Returns:
      this.
    • getClawGroundCoralIntake

      public double getClawGroundCoralIntake()
    • setClawGroundCoralIntake

      public Elevator.ElevatorConfig setClawGroundCoralIntake(double clawGroundCoralIntake)
      Returns:
      this.
    • getStationIntake

      public double getStationIntake()
    • setStationIntake

      public Elevator.ElevatorConfig setStationIntake(double stationIntake)
      Returns:
      this.
    • getStationExtendedIntake

      public double getStationExtendedIntake()
    • setStationExtendedIntake

      public Elevator.ElevatorConfig setStationExtendedIntake(double stationExtendedIntake)
      Returns:
      this.
    • getProcessorAlgae

      public double getProcessorAlgae()
    • setProcessorAlgae

      public Elevator.ElevatorConfig setProcessorAlgae(double processorAlgae)
      Returns:
      this.
    • getL2Algae

      public double getL2Algae()
    • setL2Algae

      public Elevator.ElevatorConfig setL2Algae(double l2Algae)
      Returns:
      this.
    • getL3Algae

      public double getL3Algae()
    • setL3Algae

      public Elevator.ElevatorConfig setL3Algae(double l3Algae)
      Returns:
      this.
    • getNetAlgae

      public double getNetAlgae()
    • setNetAlgae

      public Elevator.ElevatorConfig setNetAlgae(double netAlgae)
      Returns:
      this.
    • getL1Coral

      public double getL1Coral()
    • setL1Coral

      public Elevator.ElevatorConfig setL1Coral(double l1Coral)
      Returns:
      this.
    • getL2Coral

      public double getL2Coral()
    • setL2Coral

      public Elevator.ElevatorConfig setL2Coral(double l2Coral)
      Returns:
      this.
    • getL2Score

      public double getL2Score()
    • setL2Score

      public Elevator.ElevatorConfig setL2Score(double l2Score)
      Returns:
      this.
    • getL3Coral

      public double getL3Coral()
    • setL3Coral

      public Elevator.ElevatorConfig setL3Coral(double l3Coral)
      Returns:
      this.
    • getL3Score

      public double getL3Score()
    • setL3Score

      public Elevator.ElevatorConfig setL3Score(double l3Score)
      Returns:
      this.
    • getL4Coral

      public double getL4Coral()
    • setL4Coral

      public Elevator.ElevatorConfig setL4Coral(double l4Coral)
      Returns:
      this.
    • getL4Score

      public double getL4Score()
    • setL4Score

      public Elevator.ElevatorConfig setL4Score(double l4Score)
      Returns:
      this.
    • getExl1Coral

      public double getExl1Coral()
    • setExl1Coral

      public Elevator.ElevatorConfig setExl1Coral(double exl1Coral)
      Returns:
      this.
    • getExl2Coral

      public double getExl2Coral()
    • setExl2Coral

      public Elevator.ElevatorConfig setExl2Coral(double exl2Coral)
      Returns:
      this.
    • getExl2Score

      public double getExl2Score()
    • setExl2Score

      public Elevator.ElevatorConfig setExl2Score(double exl2Score)
      Returns:
      this.
    • getExl3Coral

      public double getExl3Coral()
    • setExl3Coral

      public Elevator.ElevatorConfig setExl3Coral(double exl3Coral)
      Returns:
      this.
    • getExl3Score

      public double getExl3Score()
    • setExl3Score

      public Elevator.ElevatorConfig setExl3Score(double exl3Score)
      Returns:
      this.
    • getExl4Coral

      public double getExl4Coral()
    • setExl4Coral

      public Elevator.ElevatorConfig setExl4Coral(double exl4Coral)
      Returns:
      this.
    • getExl4Score

      public double getExl4Score()
    • setExl4Score

      public Elevator.ElevatorConfig setExl4Score(double exl4Score)
      Returns:
      this.
    • getTriggerTolerance

      public double getTriggerTolerance()
    • getElevatorIsUpHeight

      public double getElevatorIsUpHeight()
    • getElevatorIsHighHeight

      public double getElevatorIsHighHeight()
    • getInitPosition

      public double getInitPosition()
    • getHoldMaxSpeedRPM

      public double getHoldMaxSpeedRPM()
    • getZeroSpeed

      public double getZeroSpeed()
    • getPositionKp

      public double getPositionKp()
    • getPositionKd

      public double getPositionKd()
    • getPositionKa

      public double getPositionKa()
    • getPositionKv

      public double getPositionKv()
    • getPositionKs

      public double getPositionKs()
    • getPositionKg

      public double getPositionKg()
    • getMmCruiseVelocity

      public double getMmCruiseVelocity()
    • getMmAcceleration

      public double getMmAcceleration()
    • getMmJerk

      public double getMmJerk()
    • getSlowMmAcceleration

      public double getSlowMmAcceleration()
    • getSlowMmJerk

      public double getSlowMmJerk()
    • getCurrentLimit

      public double getCurrentLimit()
    • getTorqueCurrentLimit

      public double getTorqueCurrentLimit()
    • getKElevatorGearing

      public double getKElevatorGearing()
    • getKCarriageMass

      public double getKCarriageMass()
    • getKElevatorDrumRadiusMeters

      public double getKElevatorDrumRadiusMeters()
    • getInitialX

      public double getInitialX()
    • getInitialY

      public double getInitialY()
    • getAngle

      public double getAngle()
    • getStaticLength

      public double getStaticLength()
    • getMovingLength

      public double getMovingLength()