Skip to content

Commit f97fabb

Browse files
committed
Update RobotContainer.java
1 parent 75ac8a9 commit f97fabb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
import edu.wpi.first.wpilibj.Timer;
2626
import edu.wpi.first.wpilibj.livewindow.LiveWindow;
2727
import edu.wpi.first.wpilibj2.command.Command;
28-
import frc.robot.Constants.Constants;
28+
import frc.robot.Constants.Constants.SWERVE;
2929
import frc.robot.Constants.Constants.CAN;
30+
import frc.robot.Constants.Constants.TEAM_COLOR;
3031
import frc.robot.commands.PieceCombos;
3132
import frc.robot.commands.SafeSubsystems;
3233
import frc.robot.commands.autonomous.Autonomous;
@@ -119,7 +120,7 @@ public RobotContainer() {
119120
statusChecks.add("6V Enabled", () -> RobotController.getEnabled6V());
120121
statusChecks.add("Sys Time Valid", () -> RobotController.isSystemTimeValid());
121122

122-
swerveDrive = new SwerveDrive(Constants.SWERVE.CONFIG);
123+
swerveDrive = new SwerveDrive(SWERVE.CONFIG);
123124
stateController = new RobotStateController(swerveDrive);
124125
// ledStrip =
125126
// new LEDs(
@@ -153,6 +154,8 @@ public RobotContainer() {
153154

154155
refreshButtonEntry.setBoolean(false);
155156
Logger.start(Milliseconds.of(20));
157+
158+
Logger.log("isRedAlliance", !TEAM_COLOR.IS_BLUE_TEAM.get());
156159
}
157160

158161
public Command getAutonomousCommand() {

0 commit comments

Comments
 (0)