Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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);
Expand Down Expand Up @@ -123,7 +123,7 @@ public RobotContainer() {
this.feederAndIndexer = new Feeder();
break;
}
prototype = new Prototype();
prototype = new PrototypeLauncher();
this.canLogger = new CANHealthLogger();

// Initialize ChoreoLib AutoFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand All @@ -18,7 +18,7 @@ public void periodic() {
Logger.recordOutput("Prototype/voltage", trackedvoltage);
}

public Prototype() {
public PrototypeLauncher() {
rightMotor.setControl(new Follower(leftMotor.getDeviceID(), MotorAlignmentValue.Opposed));
}

Expand Down