Library for analyitical inverse kinematics on 4-legged 3DOF per leg quadrupod robots. Easily modifyable for more legs.
Dependents: Quadrapod NeoQuadrapod
Diff: ArthropodIK.cpp
- Revision:
- 2:6214ab5b94cb
- Parent:
- 1:031a0c78d8d6
diff -r 031a0c78d8d6 -r 6214ab5b94cb ArthropodIK.cpp --- a/ArthropodIK.cpp Fri Jun 26 04:21:43 2015 +0000 +++ b/ArthropodIK.cpp Sat Jun 27 08:19:04 2015 +0000 @@ -2,6 +2,7 @@ #include "quadrapod_defs.h" #include "ArthropodIK.h" + float sq(float n1){ float res = n1 * n1; return res;