Class to drive a Hexapod Robot using two PCA9685 PWM Driver boards.

Dependencies:   Gait Hexapod_Leg PCA9685 Tripod

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers angles_7.h Source File

angles_7.h

00001 #ifndef HEXAPOD_LEG_ANGLES_7_H
00002 #define HEXAPOD_LEG_ANGLES_7_H
00003 #include "structs.h"
00004 
00005 leg_x_angles all_leg_angles[6][6] = 
00006 {
00007 
00008 {{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
00009 
00010 {{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
00011 
00012 {{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
00013     
00014 {{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
00015 
00016 {{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
00017 
00018 {{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
00019 
00020 
00021 };
00022 
00023 
00024 #endif