Quote:
Originally Posted by Ether
That should work, although it's a little different from the standard slope/intercept form that I posted.
|
I think there is something wrong with that pseudo code because if the Yaxis is not touched, a value of 0 is being outputted, the arm will still move. How can I fix that? Do I need to do something like 'if the Yaxis is between -0.05 and +0.05, stop the arm, else run the code' ?