Skip to content

Commit ee93324

Browse files
committed
Callibration
1 parent 82c4866 commit ee93324

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arduino_sketch/Config.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,25 @@
5252

5353
// Arrays to store servo min / max positions to avoid mechanical issues due
5454
// NOTE: attach() disregards this, set PosRest to be within range of the servo's physical boundaries
55-
int PosMin[SERVO_COUNT] = {0, 0, 5, 0, 0, 10, 60, 30};
55+
int PosMin[SERVO_COUNT] = {0, 0, 5, 0, 0, 20, 60, 30};
5656
int PosMax[SERVO_COUNT] = {180, 180, 165, 180, 180, 180, 120, 150};
5757
int PosSleep[SERVO_COUNT] = {40, 60, 95, 140, 120, 85, PosMax[7], 90};
5858
//int PrepRestFromSleep[SERVO_COUNT] = {80, PosMin[1], PosMax[2], 100, PosMax[4], PosMin[5], S7_REST, 80, S9_REST};
5959
//int PrepSleepFromRest[SERVO_COUNT] = {S1_REST, S2_REST, S3_REST, S4_REST, S5_REST, S6_REST, S7_REST, 80, S9_REST};
6060

6161
// Starting positions
6262
//0, 3 = HIP
63-
int PosStart[SERVO_COUNT] = {60, 0, 165, 120, 180, 10, 90, 90};
63+
int PosStart[SERVO_COUNT] = {60, 0, 165, 120, 180, 20, 90, 90};
6464

65-
int PosBackpack[SERVO_COUNT] = {45, 90, 165, 135, 90, 10, 90, 90}; // straighten legs and point feet to fit in backpack upright
65+
int PosBackpack[SERVO_COUNT] = {45, 90, 165, 135, 90, 20, 90, 90}; // straighten legs and point feet to fit in backpack upright
6666

6767
//int PosRest[SERVO_COUNT] = {S1_REST, S2_REST, S3_REST, S4_REST, S5_REST, S6_REST, S7_REST, S8_REST, S9_REST};
68-
int PosRest[SERVO_COUNT] = {60, 0, 165, 120, 180, 10, 90, 90};
68+
int PosRest[SERVO_COUNT] = {60, 0, 165, 120, 180, 20, 90, 90};
6969

7070
int PosConfig[SERVO_COUNT] = {90, 90, 90, 90, 90, 90, 90, 90};
7171

7272
// Poses
73-
int PosStand[SERVO_COUNT] = {45, 75, 90, 135, 105, 90, NOVAL, NOVAL};
73+
int PosStand[SERVO_COUNT] = {45, 75, 80, 135, 105, 100, NOVAL, NOVAL};
7474
int PosLookLeft[SERVO_COUNT] = {NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, 180};
7575
int PosLookRight[SERVO_COUNT] = {NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, 0};
7676
int PosLookRandom[SERVO_COUNT] = {NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, NOVAL, -1, -1}; // Made random by calling the function moveRandom() if the value is -1

0 commit comments

Comments
 (0)