From 43799192909f168e2f7e9d48d662e92e5379a7fb Mon Sep 17 00:00:00 2001 From: Alex Dickhans <55064247+alexDickhans@users.noreply.github.com> Date: Thu, 25 Apr 2024 21:23:47 -0500 Subject: [PATCH] Smack --- .idea/modules.xml | 8 ++++++++ .idea/pronounce-this.iml | 8 ++++++++ include/hardware/hardware.hpp | 18 +++++++++--------- 3 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/pronounce-this.iml diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..3697a5e8 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/pronounce-this.iml b/.idea/pronounce-this.iml new file mode 100644 index 00000000..20a7f8d3 --- /dev/null +++ b/.idea/pronounce-this.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/include/hardware/hardware.hpp b/include/hardware/hardware.hpp index c066e731..b893fe02 100755 --- a/include/hardware/hardware.hpp +++ b/include/hardware/hardware.hpp @@ -43,14 +43,14 @@ namespace Pronounce { pros::Mutex drivetrainMutex; - pros::Motor leftDrive1(19, pros::E_MOTOR_GEAR_600, true); - pros::Motor leftDrive2(18, pros::E_MOTOR_GEAR_600, true); - pros::Motor leftDrive3(17, pros::E_MOTOR_GEAR_600, true); - pros::Motor leftDrive4(16, pros::E_MOTOR_GEAR_600, true); - pros::Motor rightDrive1(8, pros::E_MOTOR_GEAR_600, false); - pros::Motor rightDrive2(12, pros::E_MOTOR_GEAR_600, false); - pros::Motor rightDrive3(13, pros::E_MOTOR_GEAR_600, false); - pros::Motor rightDrive4(14, pros::E_MOTOR_GEAR_600, false); + pros::Motor leftDrive1(1, pros::E_MOTOR_GEAR_600, false); + pros::Motor leftDrive2(2, pros::E_MOTOR_GEAR_600, true); + pros::Motor leftDrive3(3, pros::E_MOTOR_GEAR_600, false); + pros::Motor leftDrive4(4, pros::E_MOTOR_GEAR_600, true); + pros::Motor rightDrive1(18, pros::E_MOTOR_GEAR_600, false); + pros::Motor rightDrive2(10, pros::E_MOTOR_GEAR_600, true); + pros::Motor rightDrive3(8, pros::E_MOTOR_GEAR_600, false); + pros::Motor rightDrive4(9, pros::E_MOTOR_GEAR_600, true); pros::Motor_Group leftDriveMotors({leftDrive1, leftDrive2, leftDrive3, leftDrive4}); pros::Motor_Group rightDriveMotors({rightDrive1, rightDrive2, rightDrive3, rightDrive4}); @@ -63,7 +63,7 @@ namespace Pronounce { TankDrivetrain drivetrain(19_in, 76.57632093_in / second, &leftDriveMotors, &rightDriveMotors, 600.0 * (revolution / minute)); - pros::Motor intakeMotor(6, pros::E_MOTOR_GEARSET_18, true); + pros::Motor intakeMotor(5, pros::E_MOTOR_GEARSET_18, false); pros::ADIDigitalOut leftSolenoid('A', false); pros::ADIDigitalOut rightSolenoid('B', false);