Added a Run-to position for the servos on the final robot.

This commit is contained in:
Sodi
2022-09-27 19:20:59 -05:00
parent 671b8c4e6b
commit d27affaa52

View File

@@ -153,7 +153,7 @@ public class PrototypeTeleOPState extends CyberarmState {
}
if (engine.gamepad2.left_bumper) {
if (engine.gamepad1.left_bumper) {
armTargetPosition = armDeliverPosition;
@@ -216,6 +216,11 @@ public class PrototypeTeleOPState extends CyberarmState {
}
if (engine.gamepad2.left_bumper) {
robot.FrontRiserRight.setPosition(0.5);
robot.FrontRiserLeft.setPosition(0.5);
}
}
}