Single joystick control problem
Ok, I know someone must have worked this out...
We're having trouble trying to correct the "backwards is backwards" problem with single joystick control.
We are using the following algorithm:
(We do have the appropriate limits in place to keep all values acceptable.)
L=x+y-127
R=y-x+127
Everything forward works fine, as does straight back, but "back and to the left" actually results in "back and to the right".
How can we correct this?
-Mr. Van
Coach, 599
|