Package frc.robot.elevator
Class PhotonElevatorConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.elevator.Elevator.ElevatorConfig
frc.robot.elevator.PhotonElevatorConfig
-
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
Methods inherited from class frc.robot.elevator.Elevator.ElevatorConfig
configSupplyCurrentLimit, getAngle, getClawGroundAlgaeIntake, getClawGroundCoralIntake, getElevatorIsHighHeight, getElevatorIsUpHeight, getExl1Coral, getExl2Coral, getExl2Score, getExl3Coral, getExl3Score, getExl4Coral, getExl4Score, getFullExtend, getHome, getInitialX, getInitialY, getInitPosition, getKCarriageMass, getKElevatorDrumRadiusMeters, getKElevatorGearing, getL2Score, getL3Score, getL4Score, getMovingLength, getNetAlgae, getProcessorAlgae, getSlowMmAcceleration, getSlowMmJerk, getStaticLength, getTriggerTolerance, isPhoton, setClawGroundAlgaeIntake, setClawGroundCoralIntake, setExl1Coral, setExl2Coral, setExl2Score, setExl3Coral, setExl3Score, setExl4Coral, setExl4Score, setFullExtend, setHome, setL1Coral, setL2Algae, setL2Coral, setL2Score, setL3Algae, setL3Coral, setL3Score, setL4Coral, setL4Score, setMaxRotations, setMinRotations, setNetAlgae, setPhoton, setProcessorAlgae, setStationExtendedIntake, setStationIntake
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
-
PhotonElevatorConfig
public PhotonElevatorConfig()
-
-
Method Details
-
getMaxRotations
public double getMaxRotations()- Overrides:
getMaxRotations
in classElevator.ElevatorConfig
-
getMinRotations
public double getMinRotations()- Overrides:
getMinRotations
in classElevator.ElevatorConfig
-
getStationIntake
public double getStationIntake()- Overrides:
getStationIntake
in classElevator.ElevatorConfig
-
getStationExtendedIntake
public double getStationExtendedIntake()- Overrides:
getStationExtendedIntake
in classElevator.ElevatorConfig
-
getL1Coral
public double getL1Coral()- Overrides:
getL1Coral
in classElevator.ElevatorConfig
-
getL2Coral
public double getL2Coral()- Overrides:
getL2Coral
in classElevator.ElevatorConfig
-
getL3Coral
public double getL3Coral()- Overrides:
getL3Coral
in classElevator.ElevatorConfig
-
getL4Coral
public double getL4Coral()- Overrides:
getL4Coral
in classElevator.ElevatorConfig
-
getL2Algae
public double getL2Algae()- Overrides:
getL2Algae
in classElevator.ElevatorConfig
-
getL3Algae
public double getL3Algae()- Overrides:
getL3Algae
in classElevator.ElevatorConfig
-
getZeroSpeed
public double getZeroSpeed()- Overrides:
getZeroSpeed
in classElevator.ElevatorConfig
-
getHoldMaxSpeedRPM
public double getHoldMaxSpeedRPM()- Overrides:
getHoldMaxSpeedRPM
in classElevator.ElevatorConfig
-
getPositionKp
public double getPositionKp()- Overrides:
getPositionKp
in classElevator.ElevatorConfig
-
getPositionKd
public double getPositionKd()- Overrides:
getPositionKd
in classElevator.ElevatorConfig
-
getPositionKa
public double getPositionKa()- Overrides:
getPositionKa
in classElevator.ElevatorConfig
-
getPositionKv
public double getPositionKv()- Overrides:
getPositionKv
in classElevator.ElevatorConfig
-
getPositionKs
public double getPositionKs()- Overrides:
getPositionKs
in classElevator.ElevatorConfig
-
getPositionKg
public double getPositionKg()- Overrides:
getPositionKg
in classElevator.ElevatorConfig
-
getMmCruiseVelocity
public double getMmCruiseVelocity()- Overrides:
getMmCruiseVelocity
in classElevator.ElevatorConfig
-
getMmAcceleration
public double getMmAcceleration()- Overrides:
getMmAcceleration
in classElevator.ElevatorConfig
-
getMmJerk
public double getMmJerk()- Overrides:
getMmJerk
in classElevator.ElevatorConfig
-
getCurrentLimit
public double getCurrentLimit()- Overrides:
getCurrentLimit
in classElevator.ElevatorConfig
-
getTorqueCurrentLimit
public double getTorqueCurrentLimit()- Overrides:
getTorqueCurrentLimit
in classElevator.ElevatorConfig
-