Package frc.robot.elevator
Class PhotonElevatorConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.elevator.Elevator.ElevatorConfig
frc.robot.elevator.PhotonElevatorConfig
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubleMethods inherited from class frc.robot.elevator.Elevator.ElevatorConfig
configSupplyCurrentLimit, getAngle, getClawGroundAlgaeIntake, getClawGroundCoralIntake, getElevatorIsHighHeight, getElevatorIsUpHeight, getExl1Coral, getExl2Coral, getExl2Score, getExl3Coral, getExl3Score, getExl4Coral, getExl4Score, getFullExtend, getHome, getInitialX, getInitialY, getInitPosition, getKCarriageMass, getKElevatorDrumRadiusMeters, getKElevatorGearing, getL2Score, getL3Score, getL4Score, getMovingLength, getNetAlgae, getProcessorAlgae, getSlowMmAcceleration, getSlowMmJerk, getStaticLength, getTriggerTolerance, isPhoton, setClawGroundAlgaeIntake, setClawGroundCoralIntake, setExl1Coral, setExl2Coral, setExl2Score, setExl3Coral, setExl3Score, setExl4Coral, setExl4Score, setFullExtend, setHome, setL1Coral, setL2Algae, setL2Coral, setL2Score, setL3Algae, setL3Coral, setL3Score, setL4Coral, setL4Score, setMaxRotations, setMinRotations, setNetAlgae, setPhoton, setProcessorAlgae, setStationExtendedIntake, setStationIntakeMethods inherited from class frc.spectrumLib.mechanism.Mechanism.Config
applyTalonConfig, configClockwise_Positive, configContinuousWrap, configCounterClockwise_Positive, configFeedbackSensorSource, configFeedbackSensorSource, configFeedForwardGains, configFeedForwardGains, configForwardSoftLimit, configForwardTorqueCurrentLimit, configGearRatio, configGravityType, configGravityType, configMinMaxRotations, configMotionMagic, configMotionMagicPosition, configMotionMagicVelocity, configNeutralBrakeMode, configNeutralDeadband, configPeakOutput, configPIDGains, configPIDGains, configReverseSoftLimit, configReverseTorqueCurrentLimit, configStatorCurrentLimit, configSupplyCurrentLimit, configVoltageCompensation, getDynamicMMPositionFOC, getFollowerConfigs, getGearRatio, getId, getMmPositionFOC, getMmPositionVoltage, getMmPositionVoltageSlot, getMmVelocityFOC, getMmVelocityVoltage, getName, getNumMotors, getPercentOutput, getTalonConfig, getTorqueCurrentFOC, getVelocityControl, getVelocityTorqueCurrentFOC, getVoltageCompSaturation, getVoltageControl, isAttached, setAttached, setFollowerConfigs, setTalonConfig
-
Constructor Details
-
PhotonElevatorConfig
public PhotonElevatorConfig()
-
-
Method Details
-
getMaxRotations
public double getMaxRotations()- Overrides:
getMaxRotationsin classElevator.ElevatorConfig
-
getMinRotations
public double getMinRotations()- Overrides:
getMinRotationsin classElevator.ElevatorConfig
-
getStationIntake
public double getStationIntake()- Overrides:
getStationIntakein classElevator.ElevatorConfig
-
getStationExtendedIntake
public double getStationExtendedIntake()- Overrides:
getStationExtendedIntakein classElevator.ElevatorConfig
-
getL1Coral
public double getL1Coral()- Overrides:
getL1Coralin classElevator.ElevatorConfig
-
getL2Coral
public double getL2Coral()- Overrides:
getL2Coralin classElevator.ElevatorConfig
-
getL3Coral
public double getL3Coral()- Overrides:
getL3Coralin classElevator.ElevatorConfig
-
getL4Coral
public double getL4Coral()- Overrides:
getL4Coralin classElevator.ElevatorConfig
-
getL2Algae
public double getL2Algae()- Overrides:
getL2Algaein classElevator.ElevatorConfig
-
getL3Algae
public double getL3Algae()- Overrides:
getL3Algaein classElevator.ElevatorConfig
-
getZeroSpeed
public double getZeroSpeed()- Overrides:
getZeroSpeedin classElevator.ElevatorConfig
-
getHoldMaxSpeedRPM
public double getHoldMaxSpeedRPM()- Overrides:
getHoldMaxSpeedRPMin classElevator.ElevatorConfig
-
getPositionKp
public double getPositionKp()- Overrides:
getPositionKpin classElevator.ElevatorConfig
-
getPositionKd
public double getPositionKd()- Overrides:
getPositionKdin classElevator.ElevatorConfig
-
getPositionKa
public double getPositionKa()- Overrides:
getPositionKain classElevator.ElevatorConfig
-
getPositionKv
public double getPositionKv()- Overrides:
getPositionKvin classElevator.ElevatorConfig
-
getPositionKs
public double getPositionKs()- Overrides:
getPositionKsin classElevator.ElevatorConfig
-
getPositionKg
public double getPositionKg()- Overrides:
getPositionKgin classElevator.ElevatorConfig
-
getMmCruiseVelocity
public double getMmCruiseVelocity()- Overrides:
getMmCruiseVelocityin classElevator.ElevatorConfig
-
getMmAcceleration
public double getMmAcceleration()- Overrides:
getMmAccelerationin classElevator.ElevatorConfig
-
getMmJerk
public double getMmJerk()- Overrides:
getMmJerkin classElevator.ElevatorConfig
-
getCurrentLimit
public double getCurrentLimit()- Overrides:
getCurrentLimitin classElevator.ElevatorConfig
-
getTorqueCurrentLimit
public double getTorqueCurrentLimit()- Overrides:
getTorqueCurrentLimitin classElevator.ElevatorConfig
-