2/11 changes
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user