Package frc.robot.climb
Class Climb.ClimbConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.climb.Climb.ClimbConfig
- Enclosing class:
- Climb
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoublegetHome()doubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoublemodifyMotorConfig(com.ctre.phoenix6.hardware.TalonFX motor) setSimRatio(double simRatio) Methods 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
-
ClimbConfig
public ClimbConfig()
-
-
Method Details
-
modifyMotorConfig
-
getMaxRotations
public double getMaxRotations()- Overrides:
getMaxRotationsin classMechanism.Config
-
getMinRotations
public double getMinRotations()- Overrides:
getMinRotationsin classMechanism.Config
-
getHome
public double getHome() -
getIntake
public double getIntake() -
getAlgaeFloorIntake
public double getAlgaeFloorIntake() -
getPrepClimber
public double getPrepClimber() -
getFinishClimb
public double getFinishClimb() -
getCoralFloorIntake
public double getCoralFloorIntake() -
getProcessorScore
public double getProcessorScore() -
getLatchOpen
public double getLatchOpen() -
getLatchClosed
public double getLatchClosed() -
getOffsetConstant
public double getOffsetConstant() -
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() -
getClimbX
public double getClimbX() -
getClimbY
public double getClimbY() -
getSimRatio
public double getSimRatio() -
setSimRatio
- Returns:
this.
-
getLength
public double getLength()
-