]> git.taranathan.com Git - FRC2026.git/commitdiff
Update RobotContainer.java
authormixxlto <maxtan0626@gmail.com>
Tue, 10 Feb 2026 00:08:43 +0000 (16:08 -0800)
committermixxlto <maxtan0626@gmail.com>
Tue, 10 Feb 2026 00:08:43 +0000 (16:08 -0800)
src/main/java/frc/robot/RobotContainer.java

index 8c21abb584fe67eb6c0f103a86268ff47480fbda..06d2f12fac18616122db17ad15b136e5bf20bafd 100644 (file)
@@ -9,9 +9,7 @@ import org.littletonrobotics.junction.Logger;
 import com.pathplanner.lib.auto.AutoBuilder;
 import com.pathplanner.lib.commands.PathPlannerAuto;
 
-import edu.wpi.first.math.geometry.Pose2d;
 import edu.wpi.first.math.geometry.Pose3d;
-import edu.wpi.first.math.geometry.Rotation2d;
 import edu.wpi.first.wpilibj.DriverStation;
 import edu.wpi.first.wpilibj.RobotController;
 import edu.wpi.first.wpilibj.livewindow.LiveWindow;
@@ -19,11 +17,9 @@ import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
 import edu.wpi.first.wpilibj2.command.Command;
 import frc.robot.commands.DoNothing;
 import frc.robot.commands.drive_comm.DefaultDriveCommand;
-import frc.robot.commands.gpm.AimAtPose;
 import frc.robot.commands.vision.ShutdownAllPis;
 import frc.robot.constants.AutoConstants;
 import frc.robot.constants.Constants;
-import frc.robot.constants.FieldConstants;
 import frc.robot.constants.VisionConstants;
 import frc.robot.controls.BaseDriverConfig;
 import frc.robot.controls.Operator;
@@ -83,8 +79,16 @@ public class RobotContainer {
 
       default:
 
+      case PrimeJr: // AKA Valence
+        intake = new Intake();
+        climb = new Climb();
+        spindexer = new Spindexer();
+
       case WaffleHouse:
-      
+        turret = new Turret();
+        shooter = new Shooter();
+        hood = new Hood();
+
       case SwerveCompetition: // AKA "Vantage"
 
       case BetaBot: // AKA "Pancake"
@@ -95,8 +99,6 @@ public class RobotContainer {
 
       case Phil: // AKA "IHOP"
 
-      case PrimeJr:
-
       case Vertigo: // AKA "French Toast"
         drive = new Drivetrain(vision, new GyroIOPigeon2());
         driver = new PS5ControllerDriverConfig(drive, shooter, turret, hood);
@@ -132,7 +134,6 @@ public class RobotContainer {
     LiveWindow.setEnabled(false);
 
     SmartDashboard.putData("Shutdown Orange Pis", new ShutdownAllPis());
-    //SmartDashboard.putData("Aim at thingy", new AimAtPose(drive, turret, new Pose2d(FieldConstants.field.getTagPose(26).get().getTranslation().toTranslation2d(), Rotation2d.kZero)));
   }
 
   /**