Drivetrain Motors Spinning in Opposite Directions

Our family is brand new to Vex IQ and my son is attempting to duplicate a base that he built at his robotics camp. I saw the same base with the same gears and same motor orientation drive at his camp using both the drive command on the brain as well as running off of a user created program. They used 2 joystick control and up on each analog stick moved each side of the base in the same direction.

At home, using a Gen 1 brain and controller, no matter what he tries to do, the analog sticks don’t move the wheels in the same direction. In order for the robot to go straight, one stick has to be up and the other down. If the sticks are pushed in the same direction, the robot spins.

I have tried every permutation of the brain’s drive control function with normal and reverse. Nothing corrects the issue. In a user created program, I don’t see a way to reverse directionality of a single drivetrain motor, only both as a pair.

I’m feeling like this is a simple problem that I’m just not seeing the solution to. Any help would be greatly appreciated.

Danny

I might have a solution, have you tried making the motors not a pair and setting each one to your motors to the joysticks?

If you are trying to use built in drive program or the drivetrain object in a user program then you need to make the gearing for left and right sides the same. At the moment one side has the gearing configured to cause opposite direction wheel rotation. If you use simpler code, that is avoid drivetrain object and just have the code send controller values directly to the motors it can be made to work, but it would be better to move one motor so left and right drive are symmetrical.

6 Likes

It depends how you are doing this. If you coded it, you can go into the code and inverse the controls or motors. Otherwise, you can go into the drive settings of the brain and inverse it.

Thank you so much! I completely missed the gears with respect to where the motor was. I was counting to make sure the same number but definitely had it wrong. That was 4 straight hours of trying to figure out how I was screwed up! Works great now. Thanks again!

1 Like