From 33fca342cbc70ea727d10d0e779ab1c80e85da02 Mon Sep 17 00:00:00 2001 From: Michael Spears Date: Thu, 25 Jan 2024 17:16:20 -0500 Subject: [PATCH] Added to Feeder --- src/main/kotlin/frc/team449/robot2024/subsystems/Feeder.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/frc/team449/robot2024/subsystems/Feeder.kt b/src/main/kotlin/frc/team449/robot2024/subsystems/Feeder.kt index aa79ca1..5208806 100644 --- a/src/main/kotlin/frc/team449/robot2024/subsystems/Feeder.kt +++ b/src/main/kotlin/frc/team449/robot2024/subsystems/Feeder.kt @@ -3,7 +3,7 @@ import edu.wpi.first.util.sendable.SendableBuilder import edu.wpi.first.wpilibj2.command.Command import edu.wpi.first.wpilibj2.command.SubsystemBase import frc.team449.robot2024.constants.subsystem.FeederConstants -import frc.team449.robot2024.constants.subsystem.IntakeConstants +import frc.team449.robot2024.constants.subsystem.FeederConstants import frc.team449.system.encoder.NEOEncoder import frc.team449.system.motor.WrappedMotor import frc.team449.system.motor.createSparkMax @@ -12,13 +12,13 @@ class Feeder( ) : SubsystemBase() { fun feed(): Command { return this.runOnce { - motor.setVoltage(IntakeConstants.INTAKE_VOLTAGE) + motor.setVoltage(FeederConstants.FEEDER_VOLTAGE) } } fun reverse(): Command { return this.runOnce { - motor.setVoltage(IntakeConstants.REVERSE_VOLTAGE) + motor.setVoltage(FeederConstants.REVERSE_VOLTAGE) } }