Quote:
Originally Posted by duane
What was shown will work, but you might even get a little better precision by doing...
wrist_pos = (-11*arm_pos + 1670*5) / 5;
This maximizes the numerator before dividing by the denominator.
|
Can you explain how that would work? I'm reasonably confident that you would get exactly the same result for any given value of arm_pos (discounting any overflow issues).