Re: and the sine & cosine functions for the NXT
"Brian Davis" <[email protected]> Fri, 22 Dec 2006 23:13:41 GMT
| Newsgroups | gmane.comp.hardware.lego.robotics |
|---|---|
| Organization | None |
| Message-ID | <[email protected]> |
In lugnet.robotics, Claude Baumann wrote: > who is going to draw the first sine and cosine waves on the NXT display? Well, I've already done that, as well as a nifty display meter, and some other stuff that depends on trig functions... but I did it all in NXT-G, without the toolbox: http://www.brickshelf.com/cgi-bin/gallery.cgi?i=1898079 I'm looking forward to trying your custom stuff, however, as my NXT-G trig functions (particularly atan()) were getting ugly... How did you implement the trig functions (Taylor, lookup, or other)? I didn't use Taylor because of the inaccuracy around 90°, but under LV, it might be easier to just push the the approximation to better levels. -- Brian Davis