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

Commit

Permalink
Passover Right Enabled + Position Changes (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
DragonDev07 authored Feb 22, 2024
1 parent 1a62e5a commit 1d8ff89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 293 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class HWC {
public static double passoverDeliveryPos = 0.2;
public static double passoverIntakePos = 0.8;
public static double wristDeliveryPos = 0.2;
public static double wristIntakePos = 0.6;
public static double wristIntakePos = 0.85;
// ------ Declare Motors ------ //
public DcMotorEx leftFront, rightFront, leftRear, rightRear, rightPulley, leftPulley, intakeMotor;
// ------ Declare Servos ------ //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public void loop() {
}

// ------ (GAMEPAD 1) Slide Controls ------ //
robot.powerSlides(-robot.currentGamepad1.right_stick_y);
robot.powerSlides(robot.currentGamepad1.right_stick_y);

// ------ (GAMEPAD 2) MANUAL Passover Controls ------ //
if (robot.currentGamepad2.right_bumper && !robot.previousGamepad2.right_bumper) {
Expand All @@ -210,7 +210,7 @@ public void loop() {

// ------ Run Servos ------ //
robot.passoverArmLeft.setPosition(passoverPosition);
// robot.passoverArmRight.setPosition(passoverPosition);
robot.passoverArmRight.setPosition(passoverPosition);
robot.wrist.setPosition(wristPosition);

// -------- Check Intake State & Run Intake ------ //
Expand Down

This file was deleted.

0 comments on commit 1d8ff89

Please sign in to comment.