Skip to content

Commit

Permalink
uh
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGamerBot-QK committed Feb 7, 2024
1 parent de493ac commit ec6738d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions project/src/auton/DriveTrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ void drive(int left, int right) {
pros::Motor right_mtr(2); // right
pros::Motor right_mtr2(4); //left

left_mtr = -left;
left_mtr2 = -left;
right_mtr = -right;
right_mtr2 = -right;
left_mtr = left;
left_mtr2 = left;
right_mtr = right;
right_mtr2 = right;
}
void moveForward() {
drive(127,-127);
Expand Down
8 changes: 4 additions & 4 deletions project/src/auton/auton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ if (autonMode == -1) {
} else if(autonMode == 0) {
std::cout << "Red" << std::endl;
CForward();
pros::delay(1500);
pros::delay(800);
Cstop();
moveForward();
pros::delay(1700);
pros::delay(800);
brake();
MoveRight();
pros::delay(700);
pros::delay(800);
brake();
moveForward();
pros::delay(700);
pros::delay(500);
brake();
// MoveOuttake();
// moveForward();
Expand Down

0 comments on commit ec6738d

Please sign in to comment.