2/11 changes

This commit is contained in:
Plano East Robotics
2026-02-12 20:03:26 -06:00
parent 26c3c7f474
commit 510a0495e3
2 changed files with 12 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ public class Hware {
// Chassis Motors // Chassis Motors
frontRight = new Motor(hardwareMap, "frontRight", Motor.GoBILDA.RPM_435); frontRight = new Motor(hardwareMap, "frontRight", Motor.GoBILDA.RPM_435);
frontLeft = new Motor(hardwareMap, "frontLeft", Motor.GoBILDA.RPM_435); frontLeft = new Motor(hardwareMap, "frontLeft", Motor.GoBILDA.RPM_435);
backRight = new Motor(hardwareMap, "backRight", Motor.GoBILDA.RPM_435); backRight = new Motor(hardwareMap, "backRight", Motor.GoBILDA.RPM_435);

View File

@@ -18,6 +18,7 @@ public class PTOTest extends LinearOpMode {
public void runOpMode() throws InterruptedException { public void runOpMode() throws InterruptedException {
Hware robot = new Hware(); Hware robot = new Hware();
robot.initialize(hardwareMap); robot.initialize(hardwareMap);
waitForStart(); waitForStart();
while (opModeIsActive()) { while (opModeIsActive()) {
robot.leftPTO.setPosition(leftPTO); robot.leftPTO.setPosition(leftPTO);
@@ -25,3 +26,12 @@ public class PTOTest extends LinearOpMode {
} }
} }
} }
// Left PTO
// Engage - 0
// Disengage - 0.2
// Right PTO
// Engage - 0
// Disengage - 0.2