I've seen the trig lookup table function posted by Kevin Watson (this one:
http://kevin.org/frc/frc_trig.zip ). I'm just wondering if anybody has an idea on how to implement an inverse cosine function?
My real problem is controlling 2 angles which have to be calculated. I have all the calculations, but they are quite involved (lots of inverse cos, sqrt, and squaring). I've ruled out a lookup table for the various combinations of these two angles. There are two independent variables that are controlled by the robot driver, and two calculated angles (Im pretty sure the lookup table for that would be way too huge).
Thus I return to my original question: how to implement an inverse cosine lookup table function? Perhaps using kevin watson's code posted above?
Thanks,
Michael Michniewski
p.s see my new post below