Class to drive a Hexapod Robot using two PCA9685 PWM Driver boards.
Dependencies: Gait Hexapod_Leg PCA9685 Tripod
Diff: Angles/angles_6.h
- Revision:
- 3:82ac75ea08a7
- Parent:
- 2:e83b4acfcb36
--- a/Angles/angles_6.h Wed May 11 13:31:45 2016 +0000 +++ b/Angles/angles_6.h Wed May 11 15:47:09 2016 +0000 @@ -2,21 +2,21 @@ #define HEXAPOD_LEG_ANGLES_6_H #include "structs.h" -leg_x_angles all_leg_angles[6][5] = +leg_x_angles all_leg_angles[6][6] = { -{{-45.05,6.96,-96.50}, {-51.23,3.11,-92.55}, {-51.23,22.00,-109.89}, {-37.17,29.09,-109.89}, {-37.17,9.03,-92.55}}, //3 +{{0, 0, -90}, {-45.05,6.96,-96.50}, {-51.23,3.11,-92.55}, {-51.23,22.00,-109.89}, {-37.17,29.09,-109.89}, {-37.17,9.03,-92.55}}, //3 -{{0.00,9.71,-96.50}, {-22.83,9.03,-92.55}, {-22.83,29.09,-109.89}, {22.83,29.09,-109.89}, {22.83,9.03,-92.55}}, //2 +{{0, 0, -90}, {0.00,9.71,-96.50}, {-22.83,9.03,-92.55}, {-22.83,29.09,-109.89}, {22.83,29.09,-109.89}, {22.83,9.03,-92.55}}, //2 -{{45.05,6.96,-96.50}, {37.17,9.03,-92.55}, {37.17,29.09,-109.89}, {51.23,22.00,-109.89}, {51.23,3.11,-92.55}}, //1 +{{0, 0, -90}, {45.05,6.96,-96.50}, {37.17,9.03,-92.55}, {37.17,29.09,-109.89}, {51.23,22.00,-109.89}, {51.23,3.11,-92.55}}, //1 -{{-44.95,6.96,-96.50}, {-52.83,9.03,-92.55}, {-52.83,29.09,-109.89}, {-38.77,22.00,-109.89}, {-38.77,3.11,-92.55}}, //4 +{{0, 0, -90}, {-44.95,6.96,-96.50}, {-52.83,9.03,-92.55}, {-52.83,29.09,-109.89}, {-38.77,22.00,-109.89}, {-38.77,3.11,-92.55}}, //4 -{{0.00,9.71,-96.50}, {22.83,9.03,-92.55}, {22.83,29.09,-109.89}, {-22.83,29.09,-109.89}, {-22.83,9.03,-92.55}}, //5 +{{0, 0, -90}, {0.00,9.71,-96.50}, {22.83,9.03,-92.55}, {22.83,29.09,-109.89}, {-22.83,29.09,-109.89}, {-22.83,9.03,-92.55}}, //5 -{{44.95,6.96,-96.50}, {38.77,3.11,-92.55}, {38.77,22.00,-109.89}, {52.83,29.09,-109.89}, {52.83,9.03,-92.55}} //6 +{{0, 0, -90}, {44.95,6.96,-96.50}, {38.77,3.11,-92.55}, {38.77,22.00,-109.89}, {52.83,29.09,-109.89}, {52.83,9.03,-92.55}} //6 };