How to transfer RC joystick control to ROV movement (math)?
Posted: Sep 8th, 2018, 5:46 pm
Hi guys, i 'am building ROV. Recently i have tested watertight of ROV and now it's time for horizontal movement. I shall try to use 6ch rc control unit and it rise the question about how to use sticks for control movement.
if we have X and Y pos (view pic.) of sticks then control signal may be obtained by differencial formulas like
L=Y+X, R=Y-X and this calculation is continious over all values of X,Y
but for negative Y (sectors 2, 3) we have inverse behaviour then we expect.
For example when Y=-1, X=1 differencial math give us L=0, R=-2 and this mean fast motion back and left but in everyday life we may expect back and RIGHT.
Have you any suggestion about how to transfer joystick X,Y coordinate to L,R coordinate? Or is there more common type of assigning joystick stick movement to ROV movement?
if we have X and Y pos (view pic.) of sticks then control signal may be obtained by differencial formulas like
L=Y+X, R=Y-X and this calculation is continious over all values of X,Y
but for negative Y (sectors 2, 3) we have inverse behaviour then we expect.
For example when Y=-1, X=1 differencial math give us L=0, R=-2 and this mean fast motion back and left but in everyday life we may expect back and RIGHT.
Have you any suggestion about how to transfer joystick X,Y coordinate to L,R coordinate? Or is there more common type of assigning joystick stick movement to ROV movement?