From 624dedf22570dd00a6311b9afaa2f0ce5ff6e04c Mon Sep 17 00:00:00 2001 From: M1stersushiguy <161532371+M1stersushiguy@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:25:30 -0700 Subject: [PATCH] integration --- src/main/java/frc/Robot.java | 2 ++ src/main/java/frc/system/Shooter.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/Robot.java b/src/main/java/frc/Robot.java index 353e95d..f2ec563 100644 --- a/src/main/java/frc/Robot.java +++ b/src/main/java/frc/Robot.java @@ -18,6 +18,8 @@ public class Robot extends TimedRobot { // Subsystems private final Swerve drivetrain = SwerveConfig.swerve; private final Intake intake = new Intake(); + private final Shooter shooterLeft = new Shooter(15); + private final Shooter shooterRight = new Shooter(16); // Utilities static double squareInput(double input) { diff --git a/src/main/java/frc/system/Shooter.java b/src/main/java/frc/system/Shooter.java index 7f7d9f0..d2f24f3 100644 --- a/src/main/java/frc/system/Shooter.java +++ b/src/main/java/frc/system/Shooter.java @@ -16,7 +16,7 @@ public class Shooter implements Subsystem { public Shooter(int id) { // Motor - shooterMotor = new TalonSRX(int id); + shooterMotor = new TalonSRX(id); // Configs shooterMotor.setInverted(false);