Ted Parrott
/
InverseKinematics2
NA
Fork of InverseKinematics2 by
Diff: ServoAngles.h
- Revision:
- 0:fdc9474c08b9
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ServoAngles.h Fri Jan 28 19:45:20 2011 +0000 @@ -0,0 +1,27 @@ +#include "mbed.h" +#include "AX12.h" + +/************************************************************************** +Global Defines +**************************************************************************/ +#define FEMUR 100 //Femer length +#define TIBIA 140 //Tibia length +#define PI 3.1415926 + +/************************************************************************** +Global structures +**************************************************************************/ +struct LegAngles { + float Hip; + float Knee; +}; + +/************************************************************************** +Function Declarations +**************************************************************************/ +LegAngles GetAngles(int X, int Y); + +/************************************************************************** +Global variables +**************************************************************************/ +extern Serial PC; \ No newline at end of file