red side perfect (atleast I think)
This commit is contained in:
@ -180,8 +180,6 @@ public class RedBackStage extends LinearOpMode {
|
||||
double turning_distance = degrees * DEGREE_TOO_DISTANCE;
|
||||
encoderDrive(DRIVE_SPEED, turning_distance, turning_distance, LONG_TIMEOUT);
|
||||
}
|
||||
|
||||
|
||||
public void raisearm(int degrees) {
|
||||
armEncoder(ARM_SPEED, degrees*TICKS_TO_DEGREES, LONG_TIMEOUT);
|
||||
|
||||
@ -253,14 +251,14 @@ public class RedBackStage extends LinearOpMode {
|
||||
telemetry.update();
|
||||
turnLeft(90);
|
||||
straightLeft(2);
|
||||
driveForward(6);
|
||||
driveForward(5.5);
|
||||
raisearm(80);
|
||||
arm.setPower(0);
|
||||
driveForward(-21);
|
||||
straightLeft(32);
|
||||
straightLeft(34);
|
||||
driveForward(-10);
|
||||
straightRight(33);
|
||||
driveForward(-7.5);
|
||||
straightRight(35);
|
||||
driveForward(-5);
|
||||
raisearm(80);
|
||||
wrist.setPosition(0);
|
||||
raisearm(100);
|
||||
@ -310,6 +308,7 @@ else
|
||||
straightLeft(15);
|
||||
driveForward(-18);
|
||||
straightRight(29);
|
||||
turnRight(10);
|
||||
raisearm(80);
|
||||
wrist.setPosition(0);
|
||||
raisearm(100);
|
||||
|
Reference in New Issue
Block a user