Ted Parrott
/
InverseKinematics2
NA
Fork of InverseKinematics2 by
ServoAngles.h
- Committer:
- ms523
- Date:
- 2011-01-28
- Revision:
- 0:fdc9474c08b9
File content as of revision 0:fdc9474c08b9:
#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;