|
Re: White Paper Discuss: 296's CORDIC Math Library
Hello all,
We at 296 decided to share our student-developed math library with the CD community. We needed trig functions for our robot positioning system, so we wrote our own using the CORDIC algorithm. The library includes integer sine, cosine, and arctangent, all accurate to +- 1/16777216, as well as a few other useful functions.
I hope this comes in useful for those of you who need accurate trig functions.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)
patfairbank.com
|