Equation
Jon Keinath
Posts: 146
For my JavaBot viewable at jonkeinath.com I am trying to convert an equation (that converts degrees to PSC servo pulse) into something the javelin can handle...
The Equation is Y= - 4.5214x+1153(it's the "bestfit" line for my gathered data) where x is the degree and y is the servo pulse.
Any Help would be appreciated.
The Equation is Y= - 4.5214x+1153(it's the "bestfit" line for my gathered data) where x is the degree and y is the servo pulse.
Any Help would be appreciated.
Comments
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video Display Module" Available Now.
www.sxvm.com
"A problem well defined, is a problem·half solved."
·
180 * 113 = 20340 (no overflow)
Y = -((113*x)/25)
Y += 1153
That should be it.
regards peter