]> git.taranathan.com Git - FRC2026.git/commitdiff
not using cam on turret
authormixxlto <maxtan0626@gmail.com>
Wed, 21 Jan 2026 05:52:42 +0000 (21:52 -0800)
committermixxlto <maxtan0626@gmail.com>
Wed, 21 Jan 2026 05:52:42 +0000 (21:52 -0800)
src/main/java/frc/robot/RobotContainer.java

index 36211e8a18bc107a455d31f6fec57788fcc42773..e50874665c31747ab51e7cb217bf67cc3cfe815a 100644 (file)
@@ -61,9 +61,6 @@ public class RobotContainer {
    * Different robots may have different subsystems.
    */
   public RobotContainer(RobotId robotId) {
-    turret = new Turret();
-    shooter = new Shooter();
-    turretVision = new TurretVision("SOME CAMERA NAME"); // TODO: Get a real camera
     // dispatch on the robot
     switch (robotId) {
       case TestBed1:
@@ -82,6 +79,9 @@ public class RobotContainer {
       case Vivace:
       case Phil:
       case Vertigo:
+        turret = new Turret();
+        shooter = new Shooter();
+
         drive = new Drivetrain(vision, new GyroIOPigeon2());
         driver = new PS5ControllerDriverConfig(drive, shooter, turret, turretVision);
         operator = new Operator(drive);