]> git.taranathan.com Git - FRC2026.git/commitdiff
fixed the id for thenot working drive module
authoreileha <eileenhan369@gmail.com>
Fri, 27 Mar 2026 22:51:35 +0000 (15:51 -0700)
committereileha <eileenhan369@gmail.com>
Fri, 27 Mar 2026 22:51:35 +0000 (15:51 -0700)
src/main/java/frc/robot/Robot.java
src/main/java/frc/robot/RobotContainer.java
src/main/java/frc/robot/constants/IdConstants.java

index 93fb78bc82718bcede281ba1a3314af4891fa8fc..4770a0badf4e8fc289c91c53dead5c05bf414989 100644 (file)
@@ -74,7 +74,7 @@ public class Robot extends LoggedRobot {
         //   SimGUI: Persistent Values, Preferences, RobotId, then restart Simulation
         //     changes networktables.json, networktables.json.bck (both Untracked)
         //   Uncomment the next line, set the desired RobotId, deploy, and then comment the line out
-        //  RobotId.setRobotId(RobotId.SwerveCompetition);
+        // RobotId.setRobotId(RobotId.TwinBot);
         
         RobotController.setBrownoutVoltage(6.0);
         // obtain this robot's identity
index 0abc932d76a55de041adb0dae518c1c57dd59cc8..2d922ab1691a63fddd8a7577e357bab131aefc9d 100644 (file)
@@ -111,13 +111,13 @@ public class RobotContainer {
         hood = new Hood();
       
       case TwinBot:
-        spindexer = new Spindexer();
-        intake = new Intake();
+        //spindexer = new Spindexer();
+        //intake = new Intake();
 
       case SwerveCompetition: // AKA "Vantage"
 
       case BetaBot: // AKA "Pancake"
-        vision = new Vision(VisionConstants.APRIL_TAG_CAMERAS);
+        //vision = new Vision(VisionConstants.APRIL_TAG_CAMERAS);
         // fall-through
 
       case Vivace:
index 160c8da00e32e990f0fe3455c59454b620ad24f3..520a576ff3889c3e7c759bf42444886f8196d9c6 100644 (file)
@@ -5,7 +5,7 @@ public class IdConstants {
     public static final int DRIVE_FRONT_LEFT_ID = 1;
     public static final int STEER_FRONT_LEFT_ID = 2;
     public static final int ENCODER_FRONT_LEFT_ID = 3;
-    public static final int DRIVE_FRONT_RIGHT_ID = 10;
+    public static final int DRIVE_FRONT_RIGHT_ID = 31;
     public static final int STEER_FRONT_RIGHT_ID = 11;
     public static final int ENCODER_FRONT_RIGHT_ID = 12;
     public static final int DRIVE_BACK_LEFT_ID = 7;