mirror of
https://github.com/Team4388/2024AcrossTheRidgebotiverse.git
synced 2026-06-09 08:48:03 -06:00
Add Intake and Shooter Subsystems
This commit is contained in:
@@ -10,6 +10,7 @@ import com.revrobotics.SparkLimitSwitch;
|
||||
import edu.wpi.first.wpilibj.CAN;
|
||||
import edu.wpi.first.wpilibj.motorcontrol.Spark;
|
||||
import edu.wpi.first.wpilibj2.command.SubsystemBase;
|
||||
import frc4388.robot.Constants.IntakeConstants;
|
||||
|
||||
public class Intake extends SubsystemBase {
|
||||
/** Creates a new Intake. */
|
||||
@@ -20,7 +21,7 @@ public class Intake extends SubsystemBase {
|
||||
}
|
||||
|
||||
public void spinIntakeMotor() {
|
||||
intakeMotor.set(0.2);
|
||||
intakeMotor.set(IntakeConstants.INTAKE_SPEED);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user