I'm working on a tank simulation in MATLAB. The tank has two motors, a left motor and a right motor. These can each be individually written to run at anywhere from (-100%) to (+100%) speed. So, if I write L, R = (100%, 100%), each motor will be spinning at the same speed and will therefore drive in a perfectly straight line. Writing L, R = (-100%, 100%) makes the robot stay in the same (x, y) coordinate, but changes its angle. L, R = (50%, 100%) makes the robot drive forward AND turn its angle.
My question: how can I translate these left and right motor speeds into a path or curvature equation?