diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 65b329a..929ad63 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -33,7 +33,7 @@ import frc.robot.subsystems.feeder.FeederConstants; import frc.robot.subsystems.intakeAndLauncher.IntakeAndLauncher; import frc.robot.subsystems.intakeAndLauncher.IntakeAndLauncherConstants; -import frc.robot.subsystems.prototype.Prototype; +import frc.robot.subsystems.prototypeLauncher.PrototypeLauncher; import frc.robot.util.CANHealthLogger; /** @@ -47,7 +47,7 @@ public class RobotContainer { private final Drive drive; private final IntakeAndLauncher intakeAndShooter; private final Feeder feederAndIndexer; - private final Prototype prototype; + private final PrototypeLauncher prototype; // Controller private final CommandXboxController controller = new CommandXboxController(0); @@ -123,7 +123,7 @@ public RobotContainer() { this.feederAndIndexer = new Feeder(); break; } - prototype = new Prototype(); + prototype = new PrototypeLauncher(); this.canLogger = new CANHealthLogger(); // Initialize ChoreoLib AutoFactory diff --git a/src/main/java/frc/robot/subsystems/prototype/Prototype.java b/src/main/java/frc/robot/subsystems/prototypeLauncher/PrototypeLauncher.java similarity index 88% rename from src/main/java/frc/robot/subsystems/prototype/Prototype.java rename to src/main/java/frc/robot/subsystems/prototypeLauncher/PrototypeLauncher.java index 1a97549..c934a81 100644 --- a/src/main/java/frc/robot/subsystems/prototype/Prototype.java +++ b/src/main/java/frc/robot/subsystems/prototypeLauncher/PrototypeLauncher.java @@ -1,4 +1,4 @@ -package frc.robot.subsystems.prototype; +package frc.robot.subsystems.prototypeLauncher; import com.ctre.phoenix6.controls.Follower; import com.ctre.phoenix6.hardware.TalonFX; @@ -8,7 +8,7 @@ import edu.wpi.first.wpilibj2.command.SubsystemBase; import org.littletonrobotics.junction.Logger; -public class Prototype extends SubsystemBase { +public class PrototypeLauncher extends SubsystemBase { private TalonFX leftMotor = new TalonFX(2); private TalonFX rightMotor = new TalonFX(1); private double trackedvoltage = 0; @@ -18,7 +18,7 @@ public void periodic() { Logger.recordOutput("Prototype/voltage", trackedvoltage); } - public Prototype() { + public PrototypeLauncher() { rightMotor.setControl(new Follower(leftMotor.getDeviceID(), MotorAlignmentValue.Opposed)); }