Re: and the sine & cosine functions for the NXT
"Steve Lane" <stevenrobertlane@ <"nospamplease>yahoo.co.uk"@ipx11873.ipxserver.de> Fri, 22 Dec 2006 23:40:48 GMT
| Newsgroups | gmane.comp.hardware.lego.robotics |
|---|---|
| Organization | None |
| Message-ID | <[email protected]> |
In lugnet.robotics, Brian Davis wrote: > 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. I'm doing a project using trig, but I was going for computer control. I may be able to use this though. Steve