Skip to content

Commit aaa8653

Browse files
committed
fix: fixing waving_with_braccio code
1 parent 3c3cc21 commit aaa8653

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/Platform_Tutorials/projects/p01-moving-braccio/02_waving_with_Braccio/02_waving_with_Braccio.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ void loop() {
5959

6060
if (movement) {
6161
Braccio.moveTo(WAVE_POS[0], WAVE_POS[1], WAVE_POS[2], WAVE_POS[3], WAVE_POS[4], WAVE_POS[5]);
62-
delay(TIME_DELAY/10);
62+
delay(TIME_DELAY);
6363

6464
for (int i = 1; i <= 5; i++) {
65-
wristPitch.move().to(120.0f); delay(TIME_DELAY/2);
66-
wristPitch.move().to(200.0f); delay(TIME_DELAY);
65+
wristPitch.move().to(120.0f); delay(TIME_DELAY);
66+
wristPitch.move().to(200.0f); delay(2*TIME_DELAY);
6767
wristPitch.move().to(WAVE_POS[3]);
6868
}
6969

0 commit comments

Comments
 (0)