View Single Post
  #2   Spotlight this post!  
Unread 20-01-2005, 01:40
Anthony Kesich's Avatar
Anthony Kesich Anthony Kesich is offline
Programmer Turned Engineer
AKA: SonKenshin
#1097 (Site 3 Engineernig)
Team Role: Leadership
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Sacramento, CA
Posts: 186
Anthony Kesich has a spectacular aura aboutAnthony Kesich has a spectacular aura about
Send a message via AIM to Anthony Kesich
Re: 2-Segment Arm Control

Here is a good CORDIC math library I've found. Team 296 made it, so thank them. The only thing I added was a power function. Its a simple algorithm, but it made my code cleaner. Read the comments, for they explain the return type. Everything is integer math (Longs, I believe), so the numbers represent obscure fractions of a degree. Read the comments and you'll do fine.

-Tony K
Attached Files
File Type: zip 296 CORDIC library.zip (1.5 KB, 95 views)
__________________
C is screwing up my English--I'm ending all my sentences in semi-colons;

Horray for most things! -George Carlin

"Sure, I'll play rugby. Besides, I have a lot of experience running from really big guys who want to cream me." -Me, Freshman year