]> git.taranathan.com Git - FRC2026.git/commitdiff
changed name
authoreileha <eileenhan369@gmail.com>
Sun, 25 Jan 2026 18:14:31 +0000 (10:14 -0800)
committereileha <eileenhan369@gmail.com>
Sun, 25 Jan 2026 18:14:31 +0000 (10:14 -0800)
src/main/java/frc/robot/Robot.java
src/main/java/frc/robot/RobotContainer.java
src/main/java/frc/robot/RobotId.java
src/main/java/frc/robot/constants/swerve/DriveConstants.java

index 9893b524d9cac582c55f93dcd56cdd000ad288f5..5b0f936bb26158ceb77704740db6f1c0b8c5fe84 100644 (file)
@@ -80,7 +80,7 @@ public class Robot extends LoggedRobot {
         // obtain this robot's identity
         RobotId robotId = RobotId.getRobotId();
 
-        // RobotId.setRobotId(RobotId.CompBot);
+        RobotId.setRobotId(RobotId.PrimeJr);
 
         // // Record metadata
         // Logger.recordMetadata("ProjectName", BuildData.MAVEN_NAME);
index 3dff779fd9287db8b5eec0aabbf48684d5c53617..5a90dde1c49ad494345de3ff1191d37fd88c4153 100644 (file)
@@ -77,6 +77,8 @@ public class RobotContainer {
 
       case Phil: // AKA "IHOP"
 
+      case PrimeJr:
+
       case Vertigo: // AKA "French Toast"
         drive = new Drivetrain(vision, new GyroIOPigeon2());
         driver = new PS5ControllerDriverConfig(drive);
@@ -102,6 +104,8 @@ public class RobotContainer {
         }
         drive.setDefaultCommand(new DefaultDriveCommand(drive, driver));
         break;
+
+
       }
 
     // This is really annoying so it's disabled
index dc50a29c0cb815c46ac7d7ce0b6aa40bddba7f25..587acd442782609205a4617982f99eee0cb77298 100644 (file)
@@ -10,7 +10,7 @@ import edu.wpi.first.wpilibj.Preferences;
  */
 public enum RobotId {
     Default,
-    CompBot, WaffleHouse, SwerveCompetition, Vertigo, Vivace, Phil, BetaBot,
+    PrimeJr, WaffleHouse, SwerveCompetition, Vertigo, Vivace, Phil, BetaBot,
     ClassBot1, ClassBot2, ClassBot3, ClassBot4,
     TestBed1, TestBed2;
 
index a16e454dbb40245eeb1d3548e1d1a718b81859d6..2eda64b5f2c7991dde2dfbf976b24200b53c5a41 100644 (file)
@@ -200,7 +200,7 @@ public class DriveConstants {
          * Updates the constants if the RobotId is not the default SwerveCompetition robot.
          */
         public static void update(RobotId robotId) {
-            if (robotId == RobotId.CompBot) {
+            if (robotId == RobotId.PrimeJr) {
                 STEER_OFFSET_FRONT_LEFT = 0;
                 STEER_OFFSET_FRONT_RIGHT = 0;
                 STEER_OFFSET_BACK_LEFT = 0;