Society of Robots - Robot Forum
Software => Software => Topic started by: WGhost9 on July 06, 2009, 12:45:29 PM
-
Well today I go to write some inverse kinematics for my Axon controlled project only to find it lacks basic math functions like square root and inverse sine etc. Currently I am messing around with trying to import math.h from the c library of Microsoft studio but it is proving annoyingly problematic. Rather than reinvent the wheel, I was wondering i anyone here has already written a math.h for the axon and would be so kind as to share it. Thanks very much,
WGhost9
-
The avr libc contains an implementation of math.h for AVR. Depending on your development environment, you need to include the math.h header and link with libm.
Chelmi