Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #113 from rh-robotics/teo-drone-patch
Browse files Browse the repository at this point in the history
Drone fix, sorry
  • Loading branch information
IsaccBarker authored Mar 8, 2024
2 parents d4fe274 + b95c07d commit 191ca81
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void init() {
// ------ Reset Servos ------ //
robot.clawL.setPosition(1);
robot.clawR.setPosition(0);
robot.drone.setPosition(0);
robot.drone.setPosition(1);
robot.wrist.setPosition(HWC.wristIntakePos);
robot.passoverArmLeft.setPosition(HWC.passoverIntakePos);
robot.passoverArmRight.setPosition(HWC.passoverIntakePos);
Expand Down Expand Up @@ -150,7 +150,6 @@ public void loop() {
double backRightPower;
double drive = -robot.currentGamepad1.left_stick_y;
double strafe = robot.currentGamepad1.left_stick_x;

double turn = (robot.currentGamepad1.left_trigger - robot.currentGamepad1.right_trigger) * turnSpeed;
passoverPosition = robot.passoverArmLeft.getPosition();
wristPosition = robot.wrist.getPosition();
Expand Down

0 comments on commit 191ca81

Please sign in to comment.