Help on Coding 4-Wheel Drivetrain

Hello, I’m on a robotics team competing in the vex V5 over-under game.

We have a 4 motor drive and we would like to use a drive train, however the 2 motors on each side need to spin in opposite directions (1 needs to be in reverse) and we can’t seem to figure out how to make this work.

We have experimented with motor groups instead of drivetrain, but this doesn’t allow us to use the joysticks to drive.

Any help is appreciated! Thanks in advance.

I am not sure if you are using blocks or text. Here is an example in blocks but it would work for either.

Make a motorGroup for each of your left and right motors - reverse individual motors as necessary.

For arcade drive, the velocity is a simple math calculation between the joystick directions.

1 Like

Thanks for the help. We gave this a try, but this only works with the right joystick while the left did nothing. Additionally, the motors were very slow. Is there a way to fix this?


Go underneath the device category (it looks like a battery), and select controller. Keep clicking the joysticks until both are highlighted. You don’t have to use 2 joysticks though…

Also, make sure that you are on your downloaded program and not drive when testing it: otherwise what you did will not be effective

Hope this helps

-C. Rhineheart
9545C Team