Package frc.robot.intake
Class PhotonIntakeConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.intake.Intake.IntakeConfig
frc.robot.intake.PhotonIntakeConfig
-
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
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.robot.intake.Intake.IntakeConfig
getAlgaeIntakeSupplyCurrent, getAlgaeIntakeTorqueCurrent, getAlgaeIntakeVoltage, getAlgaeScoreSupplyCurrent, getAlgaeScoreTorqueCurrent, getAlgaeScoreVoltage, getCoralGroundSupplyCurrent, getCoralGroundTorqueCurrent, getCoralGroundVoltage, getCoralHoldSupplyCurrent, getCoralHoldTorqueCurrent, getCoralHoldVoltage, getHasAlgaeCurrent, getHasGamePieceCurrent, getHasGamePieceVelocity, getIntakeX, getIntakeY, getScoreDelay, getWheelDiameter, setAlgaeIntakeSupplyCurrent, setAlgaeIntakeTorqueCurrent, setAlgaeIntakeVoltage, setAlgaeScoreSupplyCurrent, setAlgaeScoreTorqueCurrent, setAlgaeScoreVoltage, setCoralGroundSupplyCurrent, setCoralGroundTorqueCurrent, setCoralGroundVoltage, setCoralHoldSupplyCurrent, setCoralHoldTorqueCurrent, setCoralHoldVoltage
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
-
PhotonIntakeConfig
public PhotonIntakeConfig()
-
-
Method Details
-
getCoralIntakeVoltage
public double getCoralIntakeVoltage()- Overrides:
getCoralIntakeVoltage
in classIntake.IntakeConfig
-
setCoralIntakeVoltage
- Overrides:
setCoralIntakeVoltage
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralIntakeSupplyCurrent
public double getCoralIntakeSupplyCurrent()- Overrides:
getCoralIntakeSupplyCurrent
in classIntake.IntakeConfig
-
setCoralIntakeSupplyCurrent
- Overrides:
setCoralIntakeSupplyCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralIntakeTorqueCurrent
public double getCoralIntakeTorqueCurrent()- Overrides:
getCoralIntakeTorqueCurrent
in classIntake.IntakeConfig
-
setCoralIntakeTorqueCurrent
- Overrides:
setCoralIntakeTorqueCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralScoreVoltage
public double getCoralScoreVoltage()- Overrides:
getCoralScoreVoltage
in classIntake.IntakeConfig
-
setCoralScoreVoltage
- Overrides:
setCoralScoreVoltage
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralScoreSupplyCurrent
public double getCoralScoreSupplyCurrent()- Overrides:
getCoralScoreSupplyCurrent
in classIntake.IntakeConfig
-
setCoralScoreSupplyCurrent
- Overrides:
setCoralScoreSupplyCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralScoreTorqueCurrent
public double getCoralScoreTorqueCurrent()- Overrides:
getCoralScoreTorqueCurrent
in classIntake.IntakeConfig
-
setCoralScoreTorqueCurrent
- Overrides:
setCoralScoreTorqueCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralL1ScoreVoltage
public double getCoralL1ScoreVoltage()- Overrides:
getCoralL1ScoreVoltage
in classIntake.IntakeConfig
-
setCoralL1ScoreVoltage
- Overrides:
setCoralL1ScoreVoltage
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralL1ScoreSupplyCurrent
public double getCoralL1ScoreSupplyCurrent()- Overrides:
getCoralL1ScoreSupplyCurrent
in classIntake.IntakeConfig
-
setCoralL1ScoreSupplyCurrent
- Overrides:
setCoralL1ScoreSupplyCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCoralL1ScoreTorqueCurrent
public double getCoralL1ScoreTorqueCurrent()- Overrides:
getCoralL1ScoreTorqueCurrent
in classIntake.IntakeConfig
-
setCoralL1ScoreTorqueCurrent
- Overrides:
setCoralL1ScoreTorqueCurrent
in classIntake.IntakeConfig
- Returns:
this
.
-
getCurrentLimit
public double getCurrentLimit()- Overrides:
getCurrentLimit
in classIntake.IntakeConfig
-
getTorqueCurrentLimit
public double getTorqueCurrentLimit()- Overrides:
getTorqueCurrentLimit
in classIntake.IntakeConfig
-
getVelocityKp
public double getVelocityKp()- Overrides:
getVelocityKp
in classIntake.IntakeConfig
-
getVelocityKv
public double getVelocityKv()- Overrides:
getVelocityKv
in classIntake.IntakeConfig
-
getVelocityKs
public double getVelocityKs()- Overrides:
getVelocityKs
in classIntake.IntakeConfig
-