diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java index 4fcf399f0..a22c527fb 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Name.java @@ -60,7 +60,7 @@ public class Name extends LinearOpMode { "O say, that star-spangled banner doesn't wave" + "Over the land of the enslaved and the home of the cowardly");*/ - MovementLibrary.setSpeed(0.2); + MovementLibrary.setSpeed(0.2, rightHandWheel, rightLegWheel,leftHandWheel,leftLegWheel); if(touchSensor.isPressed()) { telemetry.speak("Ouchie that hurt me and my feelings"); @@ -75,9 +75,9 @@ public class Name extends LinearOpMode { telemetry.update(); if (colorSensor.blue() > 800 && colorSensor.green() > 1100) { - setSpeed(0.4); + MovementLibrary.setSpeed(0.4, rightHandWheel, rightLegWheel,leftHandWheel,leftLegWheel); }else { - setSpeed(0.2); + MovementLibrary.setSpeed(0.2, rightHandWheel, rightLegWheel,leftHandWheel,leftLegWheel); } }