From 6045f06ea43b5e4cd055842720d908d2bbcfa0aa Mon Sep 17 00:00:00 2001 From: Udunen Date: Wed, 10 Apr 2024 09:51:52 -0500 Subject: [PATCH] rivera being adult --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 3c06ea0..2a24feb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,7 +29,7 @@ motor backDriveMotor = motor(PORT20, ratio18_1, false); inertial inertialSens = inertial(PORT4); motor arm = motor(PORT1, ratio36_1, false); motor deploy = motor(PORT2, ratio18_1, false); -motor climbMotorA = motor(PORT6, ratio18_1, false); +motor climbMotorA = motor(PORT6, ratio36_1, false); motor climbMotorB = motor(PORT16, ratio36_1, true); motor_group climb = motor_group(climbMotorA, climbMotorB); motor_group leftDrive = motor_group(leftFrontDriveMotor, leftBackDriveMotor); @@ -132,8 +132,8 @@ void auton(void) { int main() { climb.setMaxTorque(100, pct); climb.setVelocity(100, pct); - climbMotorA.setVelocity(100, rpm); - climbMotorB.setVelocity(100, rpm); + climbMotorA.setVelocity(100, pct); + climbMotorB.setVelocity(100, pct); climbMotorA.setMaxTorque(100, pct); climbMotorB.setMaxTorque(100, pct); climb.setStopping(coast);