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) {