mirror of
https://github.com/TimeCrafters/FTC_2022
synced 2025-12-15 14:22:34 +00:00
Added a Run-to position for the servos on the final robot, testing Mr. Badger's suggestion, take 1.5.
This commit is contained in:
@@ -38,8 +38,8 @@ public class PrototypeTeleOPState extends CyberarmState {
|
||||
robot.armMotor.setTargetPosition(armTargetPosition);
|
||||
robot.armMotor.setMode(DcMotor.RunMode.RUN_TO_POSITION);
|
||||
robot.collectorWrist.setPosition(1);
|
||||
robot.RackRiserLeft.setPosition(0.5);
|
||||
robot.RackRiserRight.setPosition(0.5);
|
||||
robot.RackRiserLeft.setPosition(0);
|
||||
robot.RackRiserRight.setPosition(1);
|
||||
robot.FrontRiserLeft.setPosition(1);
|
||||
robot.FrontRiserRight.setPosition(0);
|
||||
// ~RightRiser's always are setPosition'ed(1), ~LeftRisers always are setPosition'ed(0) or vice versa if wrong.
|
||||
|
||||
Reference in New Issue
Block a user