This commit is contained in:
2025-12-05 19:27:30 -06:00
parent 0838fc35f9
commit f48788cfd0

View File

@@ -100,6 +100,9 @@ public class TeleopV2 extends LinearOpMode {
public boolean square = false; public boolean square = false;
public boolean triangle = false; public boolean triangle = false;
double turretPos() {
return (scalar * ((robot.turr1Pos.getVoltage() - restPos) / 3.3));
}
@Override @Override
public void runOpMode() throws InterruptedException { public void runOpMode() throws InterruptedException {
@@ -463,7 +466,8 @@ public class TeleopV2 extends LinearOpMode {
if (d20!=null){ if (d20!=null){
//TODO: Add logic here and below for webcam if using double bearing = d20.ftcPose.bearing;
} }
if (d24!=null){ if (d24!=null){