Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit 0eb787a

Browse files
author
astronomer80
committed
fine tunes 3
1 parent b8ea54d commit 0eb787a

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

examples/simpleMovements/simpleMovements.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void loop() {
4949
//Wait 1 second
5050
delay(1000);
5151

52-
Braccio.ServoMovement(20, 165, 180, 0, 0, 180, 0);
52+
Braccio.ServoMovement(20, 165, 180, 0, 0, 180, 10);
5353

5454
//Wait 1 second
5555
delay(1000);

examples/simpleMovements/simpleMovements.ino~

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void setup() {
2626
//Base (M1):90 degrees
2727
//Shoulder (M2): 45 degrees
2828
//Elbow (M3): 180 degrees
29-
//Wrist vertical (M4): 90 degrees
29+
//Wrist vertical (M4): 180 degrees
3030
//Wrist rotation (M5): 90 degrees
3131
//gripper (M6): 10 degrees
3232
Braccio.begin();

examples/takethesponge/takethesponge.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ void loop() {
4646

4747
//Starting position
4848
//(step delay M1 , M2 , M3 , M4 , M5 , M6);
49-
Braccio.ServoMovement(20, 0, 45, 180, 180, 90, 0);
49+
Braccio.ServoMovement(20, 0, 45, 180, 180, 90, 10);
5050

5151
//Wait 1 second
5252
delay(1000);
5353

5454
//The braccio moves to the sponge. Only the M2 servo will moves
55-
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 0);
55+
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 10);
5656

5757
//Close the gripper to take the sponge. Only the M6 servo will moves
58-
Braccio.ServoMovement(5, 0, 90, 180, 180, 90, 60 );
58+
Braccio.ServoMovement(10, 0, 90, 180, 180, 90, 60 );
5959

6060
//Brings the sponge upwards.
6161
Braccio.ServoMovement(20, 0, 45, 180, 45, 0, 60);
@@ -67,7 +67,7 @@ void loop() {
6767
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 60);
6868

6969
//Open the gripper
70-
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 0 );
70+
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 10 );
7171

7272

7373
}

examples/takethesponge/takethesponge.ino~

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ void loop() {
5252
delay(1000);
5353

5454
//The braccio moves to the sponge. Only the M2 servo will moves
55-
Braccio.ServoMovement(20, 0, 95, 180, 180, 90, 0);
55+
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 0);
5656

5757
//Close the gripper to take the sponge. Only the M6 servo will moves
58-
Braccio.ServoMovement(5, 0, 95, 180, 180, 90, 60 );
58+
Braccio.ServoMovement(10, 0, 90, 180, 180, 90, 60 );
5959

6060
//Brings the sponge upwards.
6161
Braccio.ServoMovement(20, 0, 45, 180, 45, 0, 60);
@@ -64,10 +64,10 @@ void loop() {
6464
Braccio.ServoMovement(20, 180, 45, 180, 45, 0, 60);
6565

6666
//Return to the start position.
67-
Braccio.ServoMovement(20, 0, 95, 180, 180, 90, 60);
67+
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 60);
6868

6969
//Open the gripper
70-
Braccio.ServoMovement(20, 0, 95, 180, 180, 90, 0 );
70+
Braccio.ServoMovement(20, 0, 90, 180, 180, 90, 0 );
7171

7272

7373
}

examples/testBraccio90/testBraccio90.ino~

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ void setup() {
2929
//Base (M1):90 degrees
3030
//Shoulder (M2): 45 degrees
3131
//Elbow (M3): 180 degrees
32-
//Wrist vertical (M4): 90 degrees
32+
//Wrist vertical (M4): 180 degrees
3333
//Wrist rotation (M5): 90 degrees
3434
//gripper (M6): 10 degrees
3535
Braccio.begin();

0 commit comments

Comments
 (0)