Hi,
I'm trying to get something better than the default one joystick drive, but I don't really understand the concept of turning the x and y joystick values into values for each wheel motor (2 motors).
I'm planning on doing something along the lines of using a lookup table to make the robot more handlable, using thisa function instead of a look up table:
Code:
long ramping (unsigned char ramp)
{
long answer = 0;
answer = ((long)ramp - 127);
answer = ((answer) * (answer) * (answer));
answer = ((answer) / (128 * 128));
answer = (answer) + (127);
return answer;
}
Can someone explain the concept for turning the joy stick values on each axis into something for each motor?
Thanks
edit - sorry for the typo in the name of the thread, I can't change it.