Package frc.robot.intake
Class Intake.IntakeConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.intake.Intake.IntakeConfig
- Direct Known Subclasses:
PhotonIntakeConfig
- Enclosing class:
- Intake
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
double
setAlgaeIntakeSupplyCurrent
(double algaeIntakeSupplyCurrent) setAlgaeIntakeTorqueCurrent
(double algaeIntakeTorqueCurrent) setAlgaeIntakeVoltage
(double algaeIntakeVoltage) setAlgaeScoreSupplyCurrent
(double algaeScoreSupplyCurrent) setAlgaeScoreTorqueCurrent
(double algaeScoreTorqueCurrent) setAlgaeScoreVoltage
(double algaeScoreVoltage) setCoralGroundSupplyCurrent
(double coralGroundSupplyCurrent) setCoralGroundTorqueCurrent
(double coralGroundTorqueCurrent) setCoralGroundVoltage
(double coralGroundVoltage) setCoralHoldSupplyCurrent
(double coralHoldSupplyCurrent) setCoralHoldTorqueCurrent
(double coralHoldTorqueCurrent) setCoralHoldVoltage
(double coralHoldVoltage) setCoralIntakeSupplyCurrent
(double coralIntakeSupplyCurrent) setCoralIntakeTorqueCurrent
(double coralIntakeTorqueCurrent) setCoralIntakeVoltage
(double coralIntakeVoltage) setCoralL1ScoreSupplyCurrent
(double coralL1ScoreSupplyCurrent) setCoralL1ScoreTorqueCurrent
(double coralL1ScoreTorqueCurrent) setCoralL1ScoreVoltage
(double coralL1ScoreVoltage) setCoralScoreSupplyCurrent
(double coralScoreSupplyCurrent) setCoralScoreTorqueCurrent
(double coralScoreTorqueCurrent) setCoralScoreVoltage
(double coralScoreVoltage) 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, getMaxRotations, getMinRotations, getMmPositionFOC, getMmPositionVoltage, getMmPositionVoltageSlot, getMmVelocityFOC, getMmVelocityVoltage, getName, getNumMotors, getPercentOutput, getTalonConfig, getTorqueCurrentFOC, getVelocityControl, getVelocityTorqueCurrentFOC, getVoltageCompSaturation, getVoltageControl, isAttached, setAttached, setFollowerConfigs, setTalonConfig
-
Constructor Details
-
IntakeConfig
public IntakeConfig()
-
-
Method Details
-
getHasGamePieceVelocity
public double getHasGamePieceVelocity() -
getHasGamePieceCurrent
public double getHasGamePieceCurrent() -
getHasAlgaeCurrent
public double getHasAlgaeCurrent() -
getScoreDelay
public double getScoreDelay() -
getAlgaeIntakeVoltage
public double getAlgaeIntakeVoltage() -
setAlgaeIntakeVoltage
- Returns:
this
.
-
getAlgaeIntakeSupplyCurrent
public double getAlgaeIntakeSupplyCurrent() -
setAlgaeIntakeSupplyCurrent
- Returns:
this
.
-
getAlgaeIntakeTorqueCurrent
public double getAlgaeIntakeTorqueCurrent() -
setAlgaeIntakeTorqueCurrent
- Returns:
this
.
-
getAlgaeScoreVoltage
public double getAlgaeScoreVoltage() -
setAlgaeScoreVoltage
- Returns:
this
.
-
getAlgaeScoreSupplyCurrent
public double getAlgaeScoreSupplyCurrent() -
setAlgaeScoreSupplyCurrent
- Returns:
this
.
-
getAlgaeScoreTorqueCurrent
public double getAlgaeScoreTorqueCurrent() -
setAlgaeScoreTorqueCurrent
- Returns:
this
.
-
getCoralHoldVoltage
public double getCoralHoldVoltage() -
setCoralHoldVoltage
- Returns:
this
.
-
getCoralHoldSupplyCurrent
public double getCoralHoldSupplyCurrent() -
setCoralHoldSupplyCurrent
- Returns:
this
.
-
getCoralHoldTorqueCurrent
public double getCoralHoldTorqueCurrent() -
setCoralHoldTorqueCurrent
- Returns:
this
.
-
getCoralIntakeVoltage
public double getCoralIntakeVoltage() -
setCoralIntakeVoltage
- Returns:
this
.
-
getCoralIntakeSupplyCurrent
public double getCoralIntakeSupplyCurrent() -
setCoralIntakeSupplyCurrent
- Returns:
this
.
-
getCoralIntakeTorqueCurrent
public double getCoralIntakeTorqueCurrent() -
setCoralIntakeTorqueCurrent
- Returns:
this
.
-
getCoralGroundVoltage
public double getCoralGroundVoltage() -
setCoralGroundVoltage
- Returns:
this
.
-
getCoralGroundSupplyCurrent
public double getCoralGroundSupplyCurrent() -
setCoralGroundSupplyCurrent
- Returns:
this
.
-
getCoralGroundTorqueCurrent
public double getCoralGroundTorqueCurrent() -
setCoralGroundTorqueCurrent
- Returns:
this
.
-
getCoralScoreVoltage
public double getCoralScoreVoltage() -
setCoralScoreVoltage
- Returns:
this
.
-
getCoralScoreSupplyCurrent
public double getCoralScoreSupplyCurrent() -
setCoralScoreSupplyCurrent
- Returns:
this
.
-
getCoralScoreTorqueCurrent
public double getCoralScoreTorqueCurrent() -
setCoralScoreTorqueCurrent
- Returns:
this
.
-
getCoralL1ScoreVoltage
public double getCoralL1ScoreVoltage() -
setCoralL1ScoreVoltage
- Returns:
this
.
-
getCoralL1ScoreSupplyCurrent
public double getCoralL1ScoreSupplyCurrent() -
setCoralL1ScoreSupplyCurrent
- Returns:
this
.
-
getCoralL1ScoreTorqueCurrent
public double getCoralL1ScoreTorqueCurrent() -
setCoralL1ScoreTorqueCurrent
- Returns:
this
.
-
getCurrentLimit
public double getCurrentLimit() -
getTorqueCurrentLimit
public double getTorqueCurrentLimit() -
getVelocityKp
public double getVelocityKp() -
getVelocityKv
public double getVelocityKv() -
getVelocityKs
public double getVelocityKs() -
getIntakeX
public double getIntakeX() -
getIntakeY
public double getIntakeY() -
getWheelDiameter
public double getWheelDiameter()
-