View Single Post
  #14   Spotlight this post!  
Unread 31-10-2005, 16:02
Unsung FIRST Hero
Matt Leese Matt Leese is offline
Been-In-FIRST-Too-Long
FRC #1438 (The Aztechs)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1998
Location: Long Beach, CA
Posts: 937
Matt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond reputeMatt Leese has a reputation beyond repute
Send a message via AIM to Matt Leese
Re: Coders' Wishlists for 2006

Quote:
Originally Posted by Kevin Watson
I've written some code that that will do fixed-point sin() and cos() using an EEPROM look-up table. One piece of code is executed once to create the table, another body of code is used to do fast look-up. Once I write the documentation, I'll release to code for folks to try out.

-Kevin
I had some similiar code last year but it got lost in a laptop crash. There's also a pretty good atan2 approximation (or at least it seemed to be) out there if you'd want to include that too. This is what I based my implementation on last year: http://www.dspguru.com/comp.dsp/tricks/alg/fxdatan2.htm

Matt