Package frc.robot.indexerTower
Class IndexerTower.IndexerTowerConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.indexerTower.IndexerTower.IndexerTowerConfig
- Enclosing class:
- IndexerTower
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoublevoidsetCurrentLimit(double currentLimit) voidsetIndexerSlowVelocityRPM(double indexerSlowVelocityRPM) voidsetIndexerTorqueCurrent(double indexerTorqueCurrent) voidsetIndexerUnjamRPM(double indexerUnjamRPM) voidsetIndexerVelocityRPM(double indexerVelocityRPM) voidsetIndexVoltageOut(double indexVoltageOut) voidsetLowerCurrentLimit(double lowerCurrentLimit) voidsetTimeUntilLowerCurrent(double timeUntilLowerCurrent) voidsetTorqueCurrentLimit(double torqueCurrentLimit) voidsetUnjamVoltageOut(double unjamVoltageOut) voidsetVelocityKp(double velocityKp) voidsetVelocityKs(double velocityKs) voidsetVelocityKv(double velocityKv) Methods inherited from class frc.spectrumLib.mechanism.Mechanism.Config
applyTalonConfig, configClockwise_Positive, configContinuousWrap, configCounterClockwise_Positive, configFeedbackSensorSource, configFeedbackSensorSource, configFeedForwardGains, configFeedForwardGains, configForwardSoftLimit, configForwardTorqueCurrentLimit, configForwardVoltageLimit, configGearRatio, configGravityType, configGravityType, configLowerSupplyCurrentLimit, configLowerSupplyCurrentTime, configMinMaxRotations, configMotionMagic, configMotionMagicPosition, configMotionMagicVelocity, configNeutralBrakeMode, configNeutralDeadband, configPeakOutput, configPIDGains, configPIDGains, configReverseSoftLimit, configReverseTorqueCurrentLimit, configReverseVoltageLimit, configStatorCurrentLimit, configSupplyCurrentLimit, configVoltageCompensation, getDynamicMMPositionFOC, getDynamicMotionMagicVoltage, getFollowerConfigs, getGearRatio, getId, getMaxRotations, getMinRotations, getMmPositionFOC, getMmPositionVoltage, getMmPositionVoltageSlot, getMmVelocityFOC, getMmVelocityVoltage, getName, getNumMotors, getPercentOutput, getTalonConfig, getTorqueCurrentFOC, getVelocityControl, getVelocityTorqueCurrentFOC, getVoltageCompSaturation, getVoltageControl, isAttached, setAttached, setFollowerConfigs, setTalonConfig
-
Constructor Details
-
IndexerTowerConfig
public IndexerTowerConfig()
-
-
Method Details
-
getIndexVoltageOut
public double getIndexVoltageOut() -
setIndexVoltageOut
public void setIndexVoltageOut(double indexVoltageOut) -
getUnjamVoltageOut
public double getUnjamVoltageOut() -
setUnjamVoltageOut
public void setUnjamVoltageOut(double unjamVoltageOut) -
getIndexerTorqueCurrent
public double getIndexerTorqueCurrent() -
setIndexerTorqueCurrent
public void setIndexerTorqueCurrent(double indexerTorqueCurrent) -
getIndexerVelocityRPM
public double getIndexerVelocityRPM() -
setIndexerVelocityRPM
public void setIndexerVelocityRPM(double indexerVelocityRPM) -
getIndexerSlowVelocityRPM
public double getIndexerSlowVelocityRPM() -
setIndexerSlowVelocityRPM
public void setIndexerSlowVelocityRPM(double indexerSlowVelocityRPM) -
getIndexerUnjamRPM
public double getIndexerUnjamRPM() -
setIndexerUnjamRPM
public void setIndexerUnjamRPM(double indexerUnjamRPM) -
getIndexerTowerFeedRPM
-
getCurrentLimit
public double getCurrentLimit() -
setCurrentLimit
public void setCurrentLimit(double currentLimit) -
getTorqueCurrentLimit
public double getTorqueCurrentLimit() -
setTorqueCurrentLimit
public void setTorqueCurrentLimit(double torqueCurrentLimit) -
getLowerCurrentLimit
public double getLowerCurrentLimit() -
setLowerCurrentLimit
public void setLowerCurrentLimit(double lowerCurrentLimit) -
getTimeUntilLowerCurrent
public double getTimeUntilLowerCurrent() -
setTimeUntilLowerCurrent
public void setTimeUntilLowerCurrent(double timeUntilLowerCurrent) -
getVelocityKp
public double getVelocityKp() -
setVelocityKp
public void setVelocityKp(double velocityKp) -
getVelocityKv
public double getVelocityKv() -
setVelocityKv
public void setVelocityKv(double velocityKv) -
getVelocityKs
public double getVelocityKs() -
setVelocityKs
public void setVelocityKs(double velocityKs) -
getIntakeX
public double getIntakeX() -
getIntakeY
public double getIntakeY() -
getWheelDiameter
public double getWheelDiameter()
-