Skip to content

Commit 4ebc432

Browse files
committed
Made a few changes
2 parents ccdd075 + 9647f1f commit 4ebc432

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/main/java/frc/robot/GlobalConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public enum RobotMode {
1515

1616
// TODO: Ensure correct mode is set for the robot!!
1717
public static final RobotMode ROBOT_MODE = "Crash".equals(System.getenv("CI_NAME"))
18-
? RobotMode.REAL
18+
? RobotMode.SIM
1919
: RobotMode.SIM;
2020

2121
public static final class Controllers {

src/main/java/frc/robot/Subsystems/Drive/DriveConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public final class DriveConstants {
4141
//Velocity
4242
public static final AngularVelocity W_AUTO_ANGLE = DegreesPerSecond.of(-6); //used to be -10.3
4343
public static final ChassisSpeeds DRIVE_FORWARD_CHASSIS_SPEED = new ChassisSpeeds(0, -0.875, 0);
44-
public static final ChassisSpeeds SIDEWAYS_TO_RIGHT_CHASSIS_SPEED = new ChassisSpeeds(-0.875, 0, 0);
44+
public static final ChassisSpeeds SIDEWAYS_TO_RIGHT_CHASSIS_SPEED = new ChassisSpeeds(0, -0.875, 0);
4545
public static final ChassisSpeeds SIDEWAYS_CHASSIS_SPEEDS = new ChassisSpeeds();
4646

4747
//Speed

src/main/java/frc/robot/Subsystems/Vision/Vision.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ public static Vision getInstance() {
3636
new VisionIOPhotonVisionSim(FRONT_LEFT_CAM_NAME, ROBOT_TO_FRONT_LEFT_CAMERA, Drive.getInstance()::getPose),
3737
new VisionIOPhotonVisionSim(FRONT_RIGHT_CAM_NAME, ROBOT_TO_FRONT_RIGHT_CAMERA, Drive.getInstance()::getPose),
3838
};
39-
case TESTING -> new VisionIO[] { new VisionIOPhotonVision(FRONT_LEFT_CAM_NAME, ROBOT_TO_FRONT_LEFT_CAMERA), new VisionIOPhotonVision(FRONT_RIGHT_CAM_NAME, ROBOT_TO_FRONT_RIGHT_CAMERA) };
40-
case REPLAY -> new VisionIO[] { new VisionIOPhotonVision(FRONT_LEFT_CAM_NAME, ROBOT_TO_FRONT_LEFT_CAMERA), new VisionIOPhotonVision(FRONT_RIGHT_CAM_NAME, ROBOT_TO_FRONT_RIGHT_CAMERA) };
39+
case TESTING -> new VisionIO[] {
40+
new VisionIOPhotonVision(FRONT_LEFT_CAM_NAME, ROBOT_TO_FRONT_LEFT_CAMERA),
41+
new VisionIOPhotonVision(FRONT_RIGHT_CAM_NAME, ROBOT_TO_FRONT_RIGHT_CAMERA)
42+
};
43+
case REPLAY -> new VisionIO[] {
44+
new VisionIOPhotonVision(FRONT_LEFT_CAM_NAME, ROBOT_TO_FRONT_LEFT_CAMERA),
45+
new VisionIOPhotonVision(FRONT_RIGHT_CAM_NAME, ROBOT_TO_FRONT_RIGHT_CAMERA)
46+
};
4147
}
4248
);
4349
}

0 commit comments

Comments
 (0)