View Single Post
  #11   Spotlight this post!  
Unread 31-10-2005, 00:48
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Coders' Wishlists for 2006

Quote:
Originally Posted by Matt Leese
Maybe there can be an implementation of a fixed-point set of basic trig functions that can be used. I know there are fixed-point approximations for some trig fucntions that work fairly well and don't require a large lookup table.

Matt
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
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org