How to control Motors in a Vector Design

I have a question for anyone willing to help. I am on an ROV team and we are trying to use a 2-axis motion control for motors. We are using DC motors, an Arduino Due, Pololu Motor controllers,and PWM To the motor controllers. What Algorithm (or Math) do we need to implement in our code to make the 2-axis motion control work? The problem we are having now is motor values conflicting with each other.

A DC motor does vector control mechanically using a commutator. You need a brushless or induction
motor for (software) vector control to be meaningful.

Very large DC motors have interpoles and other such complications to allow some sort of vector control
in fact, but that's mainly to suppress sparking on the brushes from what I remember.

Why do you need vector control? You won't be doing it with the polulu motor controller.

The control is just forward and backward, Its the design of the machine that is in a vector configuration. all motors are at a an angle to allow motion in every direction of the x-z Plane

Ah, you don't mean vector control of motors, but 2-axis motion control system - you used confusing
terminology!!

I think you need to explain this sentence of yours in detail:

The problem we are having now is motor values conflicting with each other.

Please do not double post, answer the question here please, don't create random other threads, and don't
say "vector control" if you don't mean vector control but mean 2-axis motion control, its muddying the issue.

Well when we input different pwm values (from potentiometers), with the Equation we have right now the motor is receiving both values and/ or the wrong values to make it run smoothly. what;s happening to the motors right now is that they are either not running or pulsing. Does that clear it up?

Not in the slightest.

Go back to the thread called "before posting read this" or similar, read it.

Then come back here and provide all the information needed to enable us to give meaningful help.
Circuit, code, explanation of what you are trying to achieve and what is going wrong.

Post your code. Use [ code ] tags.