Quote:
Originally Posted by PriyankP
JoyStickYaxis is +1 (operator input)
currentPotValue is 550 (min is 300 and max is 600)
(m*(currentPotValue+b)) = ( (1/150)*(550-450) )
m is 1/150 and b is -450 so that the number is always between -1 and 1
|
That should work, although it's a little different from the standard slope/intercept form that I posted.