Limit_Mix() Function
I understand the Limit_Mix function combines the 2 joystick values (x,y) into a PWM value - one for each side of the drive. Can someone explain to me exactly how this function works. I see the code (obviously) and understand it, but how does the mathematical side work? Also, I remember we had some acceleration problems and a cubed value of the actual joystick input would work better (between a certain range). Any help would be greatly appreciated.
Thanks,
Eric
|