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

Commit 30b78b8

Browse files
Fix issue with controller constant not existing
1 parent 4b264d9 commit 30b78b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/frc/robot/RobotContainer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import edu.wpi.first.wpilibj2.command.Command;
88
import edu.wpi.first.wpilibj2.command.button.CommandXboxController;
99
import edu.wpi.first.wpilibj2.command.button.Trigger;
10+
import frc.robot.Constants.ControllersConstants;
1011
import frc.robot.commands.*;
1112
import frc.robot.subsystems.*;
1213

@@ -25,7 +26,7 @@ public class RobotContainer {
2526

2627
// Replace with CommandPS4Controller or CommandJoystick if needed
2728
private final CommandXboxController m_driverController =
28-
new CommandXboxController(OperatorConstants.kDriverControllerPort);
29+
new CommandXboxController(ControllersConstants.driverControllerPort);
2930

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

0 commit comments

Comments
 (0)