From ec6738d6536479057103b48b0875fdb3a13c7fc3 Mon Sep 17 00:00:00 2001 From: Saahil Date: Wed, 7 Feb 2024 16:27:06 -0500 Subject: [PATCH] uh --- project/src/auton/DriveTrain.cpp | 8 ++++---- project/src/auton/auton.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/project/src/auton/DriveTrain.cpp b/project/src/auton/DriveTrain.cpp index 8146881..ec0bc56 100644 --- a/project/src/auton/DriveTrain.cpp +++ b/project/src/auton/DriveTrain.cpp @@ -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); diff --git a/project/src/auton/auton.cpp b/project/src/auton/auton.cpp index 8ffbd75..e3f19d9 100644 --- a/project/src/auton/auton.cpp +++ b/project/src/auton/auton.cpp @@ -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();