transfer changes
This commit is contained in:
@@ -60,7 +60,7 @@ public class redDaniel extends LinearOpMode {
|
|||||||
}
|
}
|
||||||
robot.shooter1.setPower(powPID);
|
robot.shooter1.setPower(powPID);
|
||||||
robot.shooter2.setPower(powPID);
|
robot.shooter2.setPower(powPID);
|
||||||
robot.transfer.setPower((powPID / 2) + 0.5);
|
robot.transfer.setPower((powPID / 4) + 0.75);
|
||||||
|
|
||||||
return getRuntime() - ticker < 0.5;
|
return getRuntime() - ticker < 0.5;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public class ShooterTest extends LinearOpMode {
|
|||||||
robot.spin2.setPosition(1 - spindexer_intakePos);
|
robot.spin2.setPosition(1 - spindexer_intakePos);
|
||||||
} else {
|
} else {
|
||||||
robot.transfer.setPower(1);
|
robot.transfer.setPower(1);
|
||||||
robot.intake.setPower(0);
|
robot.intake.setPower(0.75 + (powPID/4));
|
||||||
if (spindexPos == 1) {
|
if (spindexPos == 1) {
|
||||||
robot.spin1.setPosition(spindexer_outtakeBall1);
|
robot.spin1.setPosition(spindexer_outtakeBall1);
|
||||||
robot.spin2.setPosition(1 - spindexer_outtakeBall1);
|
robot.spin2.setPosition(1 - spindexer_outtakeBall1);
|
||||||
|
|||||||
Reference in New Issue
Block a user