mirror of
https://github.com/TimeCrafters/FTC_2022
synced 2025-12-15 20:12:35 +00:00
Added a Run-to position for the servos on the final robot.
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user