File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2525import edu .wpi .first .wpilibj .Timer ;
2626import edu .wpi .first .wpilibj .livewindow .LiveWindow ;
2727import edu .wpi .first .wpilibj2 .command .Command ;
28- import frc .robot .Constants .Constants ;
28+ import frc .robot .Constants .Constants . SWERVE ;
2929import frc .robot .Constants .Constants .CAN ;
30+ import frc .robot .Constants .Constants .TEAM_COLOR ;
3031import frc .robot .commands .PieceCombos ;
3132import frc .robot .commands .SafeSubsystems ;
3233import 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 () {
You can’t perform that action at this time.
0 commit comments