6 Motor drive on Pros

I have a 6 motor drive, but it doesn’t work. When I tested it, it only drove when the 2nd motor wasn’t plugged in. The 1st and 3rd spu properly, but every time I tried to reverse the 2nd motor, the whole bot wouldn’t move. I’m not sure what to do because when the second motor isn’t plugged in, it works perfectly fin,e but I’m not trying to do a 6 motor drive.

My team creates two MotorGroups (one for each side of the robot).

pros::MotorGroup left({-9,7,-5});
pros::MotorGroup right({10,-8,6});

As you can see in the code above, motors 9 and 5 are reversed, and 7 is forward.
If left.move(127); is called, then the motors on ports 9 and 5 will spin full speed backward, and the motor on port 7 will spin full speed forward.

I hope that helps!

1 Like

Code, pictures, details of set up?

1 Like

pros::MotorGroup leftMotors({-5, 4, -3},
pros::MotorGearset::blue); // left motor group - ports 3 (reversed), 4, 5 (reversed)
pros::MotorGroup rightMotors({6, -9, 7}, pros::MotorGearset::blue); // right motor group - ports 6, 7, 9 (reversed)