How to do split arcade with drivetrain code (V5 Pro)

So i have a 2 motor drivetrain and I want to make a split arcade work for this build but i ran into issues. I have this code set up
Drivetrain.setDriveVelocity((Controller1.Axis3.position() + Controller1.Axis1.position()), percent);
Drivetrain.setDriveVelocity((Controller1.Axis3.position() - Controller1.Axis1.position()), percent);
Drivetrain.drive(forward);
But if i do this, the second i move axis 1 to the left, the robot would move forward, and right would make it move reverse.

Likely one of the motors needs to be reversed in the configuration window (usually the right motor). Hope this helps!

2 Likes