]> git.taranathan.com Git - FRC2026.git/commitdiff
fdas
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 23 Jan 2026 00:23:09 +0000 (16:23 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 23 Jan 2026 00:23:09 +0000 (16:23 -0800)
src/main/java/frc/robot/constants/VisionConstants.java
src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java

index 83a56d6630f5788f66a05c3b25114966c23bf153..cf69ee1639c53194aa765ff2f592c07bfdacc271 100644 (file)
@@ -153,7 +153,7 @@ public class VisionConstants {
     public static final ArrayList<Pair<String, Transform3d>> APRIL_TAG_CAMERAS = new ArrayList<Pair<String, Transform3d>>(
             List.of(
                 new Pair<String, Transform3d>(
-                        "CameraFront",
+                        "CameraRight",
                         new Transform3d(
                                 new Translation3d(Units.inchesToMeters(10.485), Units.inchesToMeters(10.217),
                                         Units.inchesToMeters(11.012)),
index 97b37b59b7ac3b03f1c03856cd64a37a3ceecd01..7a064917a8d6b734f7410cb4be1e3d66119a1ba1 100644 (file)
@@ -88,6 +88,21 @@ public class PS5ControllerDriverConfig extends BaseDriverConfig {
                         }
                     })
         );
+
+        // driver.get(PS5Button.CROSS).onTrue(
+        //     new InstantCommand(()->{
+        //         if(turretJoyStickAim == null || !turretJoyStickAim.isScheduled()){
+        //             turretJoyStickAim = new TurretJoyStickAim(turret, this);
+        //             turretJoyStickAim.schedule();
+        //         }
+        //     })
+        // ).onFalse(
+        //     new InstantCommand(()->{
+        //         if(turretJoyStickAim.isScheduled()){
+        //             turretJoyStickAim.cancel();
+        //         }
+        //     })
+        // );
         
     }