Package frc.robot.launcher
Class Launcher.LauncherConfig
java.lang.Object
frc.spectrumLib.mechanism.Mechanism.Config
frc.robot.launcher.Launcher.LauncherConfig
- Enclosing class:
- Launcher
-
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism.Config
talonConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoubledoublevoidsetLauncherSupplyCurrent(double LauncherSupplyCurrent) voidsetLauncherTorqueCurrent(double LauncherTorqueCurrent) voidsetLauncherVoltage(double LauncherVoltage) 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
-
LauncherConfig
public LauncherConfig()
-
-
Method Details
-
getLauncherVoltage
public double getLauncherVoltage() -
setLauncherVoltage
public void setLauncherVoltage(double LauncherVoltage) -
getLauncherSupplyCurrent
public double getLauncherSupplyCurrent() -
setLauncherSupplyCurrent
public void setLauncherSupplyCurrent(double LauncherSupplyCurrent) -
getLauncherTorqueCurrent
public double getLauncherTorqueCurrent() -
setLauncherTorqueCurrent
public void setLauncherTorqueCurrent(double LauncherTorqueCurrent) -
getCurrentLimit
public double getCurrentLimit() -
getTorqueCurrentLimit
public double getTorqueCurrentLimit() -
getVelocityKp
public double getVelocityKp() -
getVelocityKv
public double getVelocityKv() -
getVelocityKs
public double getVelocityKs() -
getOnTargetToleranceRPM
public double getOnTargetToleranceRPM() -
getLauncherX
public double getLauncherX() -
getLauncherY
public double getLauncherY() -
getWheelDiameter
public double getWheelDiameter()
-