Skip to content

Commit

Permalink
Fix rightLeft
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinencounter committed Feb 20, 2024
1 parent 578289f commit c5b63ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,15 @@ void unCenterLeft() {

void rightLeft() {
RobotLog.ii("TwentyAuto", "RIGHT");
why.DriveReverse(20.0, telemetry);
why.DriveReverse(18.0, telemetry);
turnPID.TurnRobot(-90.0);
why.DriveReverse(4.0, telemetry);
why.DriveReverse(3.0, telemetry);
placePixel();
}

void unRightLeft() {
RobotLog.ii("TwentyAuto", "RIGHT");
why.DriveForward(4.0, telemetry);
why.DriveForward(3.0, telemetry);
turnPID.TurnRobot(90.0);
}

Expand Down

0 comments on commit c5b63ab

Please sign in to comment.