Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Fix issue with controller constant not existing
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettsummerfi3ld committed Jan 28, 2024
1 parent 4b264d9 commit 30b78b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
import edu.wpi.first.wpilibj2.command.button.Trigger;
import frc.robot.Constants.ControllersConstants;
import frc.robot.commands.*;
import frc.robot.subsystems.*;

Expand All @@ -25,7 +26,7 @@ public class RobotContainer {

// Replace with CommandPS4Controller or CommandJoystick if needed
private final CommandXboxController m_driverController =
new CommandXboxController(OperatorConstants.kDriverControllerPort);
new CommandXboxController(ControllersConstants.driverControllerPort);

/** The container for the robot. Contains subsystems, OI devices, and commands. */
public RobotContainer() {
Expand Down

0 comments on commit 30b78b8

Please sign in to comment.