From d96f74e399dae2408f643bad464324e862cfff58 Mon Sep 17 00:00:00 2001 From: Langevin Gael Date: Mon, 25 Sep 2023 22:02:09 +0200 Subject: [PATCH] fix speed issue --- src/main/java/org/myrobotlab/service/InMoov2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/myrobotlab/service/InMoov2.java b/src/main/java/org/myrobotlab/service/InMoov2.java index ab99ec1ca3..83af38c94d 100644 --- a/src/main/java/org/myrobotlab/service/InMoov2.java +++ b/src/main/java/org/myrobotlab/service/InMoov2.java @@ -1407,7 +1407,7 @@ public void setHandVelocity(String which, Double thumb, Double index, Double maj } public void setHeadSpeed(Double rothead, Double neck) { - setHeadSpeed(rothead, neck, null, null, null); + setHeadSpeed(rothead, neck, null, null, null, null); } public void setHeadSpeed(Double rothead, Double neck, Double rollNeck) { @@ -1419,7 +1419,7 @@ public void setHeadSpeed(Double rothead, Double neck, Double eyeXSpeed, Double e } public void setHeadSpeed(Double rothead, Double neck, Double eyeXSpeed, Double eyeYSpeed, Double jawSpeed, Double rollNeckSpeed) { - sendToPeer("head", "setSpeed", neck, eyeXSpeed, eyeYSpeed, jawSpeed, rollNeckSpeed); + sendToPeer("head", "setSpeed", rothead, neck, eyeXSpeed, eyeYSpeed, jawSpeed, rollNeckSpeed); } public void setHeadSpeed(Integer rothead, Integer neck, Integer rollNeck) {