Package frc.robot.shoulder
Class PhotonShoulderConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.shoulder.Shoulder.ShoulderConfig
frc.robot.shoulder.PhotonShoulderConfig
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubleintdoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoublebooleansetSimRatio(double simRatio) Methods inherited from class frc.robot.shoulder.Shoulder.ShoulderConfig
getAutonShoulderNetChecker, getCANcoderRotorToSensorRatio, getCANcoderSensorToMechanismRatio, getExL1Coral, getExL2Coral, getExL2Score, getExL3Coral, getExL3Score, getExL4Coral, getExL4Score, getGroundAlgaeIntake, getGroundCoralIntake, getHome, getL2Score, getL3Algae, getL3Score, getL4CoralScore, getNetAlgae, getPrescoreDelay, getProcessorAlgae, getRotorToSensorRatio, getScoreDelay, getSensorToMechanismRatio, getShoulderX, getShoulderY, getSlowMmAcceleration, getSlowMmJerk, getStationExtendedIntake, isPhoton, modifyMotorConfig, setAutonShoulderNetChecker, setCANcoderAttached, setCANcoderOffset, setCANcoderRotorToSensorRatio, setCANcoderSensorToMechanismRatio, setClimbPrep, setCurrentLimit, setExL1Coral, setExL2Coral, setExL2Score, setExL3Coral, setExL3Score, setExL4Coral, setExL4Score, setGroundAlgaeIntake, setGroundCoralIntake, setHoldMaxSpeedRPM, setHome, setInitPosition, setL1Coral, setL2Algae, setL2Coral, setL2Score, setL3Algae, setL3Coral, setL3Score, setL4Coral, setL4CoralScore, setMmAcceleration, setMmCruiseVelocity, setMmJerk, setNetAlgae, setOffset, setPhoton, setPositionKa, setPositionKd, setPositionKg, setPositionKp, setPositionKs, setPositionKv, setProcessorAlgae, setRotorToSensorRatio, setSensorToMechanismRatio, setSlowMmAcceleration, setSlowMmJerk, setStationExtendedIntake, setStationIntake, setTolerance, setTorqueCurrentLimit, setZeroSpeedMethods 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
-
PhotonShoulderConfig
public PhotonShoulderConfig()
-
-
Method Details
-
getInitializedPosition
public int getInitializedPosition()- Overrides:
getInitializedPositionin classShoulder.ShoulderConfig
-
getTolerance
public double getTolerance()- Overrides:
getTolerancein classShoulder.ShoulderConfig
-
getOffset
public double getOffset()- Overrides:
getOffsetin classShoulder.ShoulderConfig
-
getInitPosition
public double getInitPosition()- Overrides:
getInitPositionin classShoulder.ShoulderConfig
-
getClimbPrep
public double getClimbPrep()- Overrides:
getClimbPrepin classShoulder.ShoulderConfig
-
getStationIntake
public double getStationIntake()- Overrides:
getStationIntakein classShoulder.ShoulderConfig
-
getStationIntakeExtended
public double getStationIntakeExtended() -
getL1Coral
public double getL1Coral()- Overrides:
getL1Coralin classShoulder.ShoulderConfig
-
getL2Coral
public double getL2Coral()- Overrides:
getL2Coralin classShoulder.ShoulderConfig
-
getL3Coral
public double getL3Coral()- Overrides:
getL3Coralin classShoulder.ShoulderConfig
-
getL4Coral
public double getL4Coral()- Overrides:
getL4Coralin classShoulder.ShoulderConfig
-
getL2Algae
public double getL2Algae()- Overrides:
getL2Algaein classShoulder.ShoulderConfig
-
getL3Alage
public double getL3Alage() -
getZeroSpeed
public double getZeroSpeed()- Overrides:
getZeroSpeedin classShoulder.ShoulderConfig
-
getHoldMaxSpeedRPM
public double getHoldMaxSpeedRPM()- Overrides:
getHoldMaxSpeedRPMin classShoulder.ShoulderConfig
-
getCurrentLimit
public double getCurrentLimit()- Overrides:
getCurrentLimitin classShoulder.ShoulderConfig
-
getTorqueCurrentLimit
public double getTorqueCurrentLimit()- Overrides:
getTorqueCurrentLimitin classShoulder.ShoulderConfig
-
getPositionKp
public double getPositionKp()- Overrides:
getPositionKpin classShoulder.ShoulderConfig
-
getPositionKd
public double getPositionKd()- Overrides:
getPositionKdin classShoulder.ShoulderConfig
-
getPositionKv
public double getPositionKv()- Overrides:
getPositionKvin classShoulder.ShoulderConfig
-
getPositionKs
public double getPositionKs()- Overrides:
getPositionKsin classShoulder.ShoulderConfig
-
getPositionKa
public double getPositionKa()- Overrides:
getPositionKain classShoulder.ShoulderConfig
-
getPositionKg
public double getPositionKg()- Overrides:
getPositionKgin classShoulder.ShoulderConfig
-
getMmCruiseVelocity
public double getMmCruiseVelocity()- Overrides:
getMmCruiseVelocityin classShoulder.ShoulderConfig
-
getMmAcceleration
public double getMmAcceleration()- Overrides:
getMmAccelerationin classShoulder.ShoulderConfig
-
getMmJerk
public double getMmJerk()- Overrides:
getMmJerkin classShoulder.ShoulderConfig
-
getCANcoderGearRatio
public double getCANcoderGearRatio() -
getCANcoderOffset
public double getCANcoderOffset()- Overrides:
getCANcoderOffsetin classShoulder.ShoulderConfig
-
isCANcoderAttached
public boolean isCANcoderAttached()- Overrides:
isCANcoderAttachedin classShoulder.ShoulderConfig
-
getPhotonShoulderX
public double getPhotonShoulderX() -
getPhotonShoulderY
public double getPhotonShoulderY() -
getSimRatio
public double getSimRatio()- Overrides:
getSimRatioin classShoulder.ShoulderConfig
-
setSimRatio
- Overrides:
setSimRatioin classShoulder.ShoulderConfig- Returns:
this.
-
getLength
public double getLength()- Overrides:
getLengthin classShoulder.ShoulderConfig
-