Class ShooterMotor
java.lang.Object
frc.robot.devices.motor.AbstractMotor
frc.robot.devices.motor.AbstractVelocityMotor<MotorConfig>
frc.robot.subsystems.shooter.devices.ShooterMotor
SparkMax-backed shooter flywheel motor configured from the shooter subsystem config.
Inherits coast-mode idle, gearing, live-tunable configuration, and telemetry from AbstractVelocityMotor. The flywheel spins continuously,
so soft limits are typically not used.
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.devices.motor.MotorIO
MotorIO.MotorIOInputs -
Field Summary
Fields inherited from class frc.robot.devices.motor.AbstractMotor
log, motor, name, NOMINAL_VOLTAGE -
Method Summary
Modifier and TypeMethodDescriptionstatic ShooterMotorcreate(MotorConfig config) Creates a shooter motor wrapper using values from the shooter motor config.Methods inherited from class frc.robot.devices.motor.AbstractVelocityMotor
configureMotorMethods inherited from class frc.robot.devices.motor.AbstractMotor
computeMechanismRadiansPerMotorRotation, getPositionRadians, getVelocityRadiansPerSecond, getVoltage, init, isInitialized, setEncoderPosition, setVoltage, stop, updateInputs
-
Method Details