Martin Smith
/
ERIC_First_Steps
Globals.cpp
- Committer:
- ms523
- Date:
- 2011-08-21
- Revision:
- 0:0965dacb3caf
File content as of revision 0:0965dacb3caf:
#include "ERIC.h" /**************************************************** Global AX-12+ Servos ****************************************************/ AX12 Right_Hip_Lateral(p9, p10, p17, 1), Right_Hip(p9, p10, p17, 2), Right_Knee(p9, p10, p17, 3), Left_Hip_Lateral(p9, p10, p17, 4), Left_Hip(p9, p10, p17, 5), Left_Knee(p9, p10, p17, 6); /**************************************************** Poses - Target servo position data format: Right_X, Right_Y, Right_Z, Left_X, Left_Y, Left_Z ****************************************************/ const int Stand[] = {70, 0, -180, -70, 0, -180}; const int Sit[] = {70, 0, -150, -70, 0, -150}; const int Walk[] = {100, 120, -140, -100, -120, -140}; const int Step_Start[] = {0, 0, -130, 0, 0, -170};