MyRobotLab / InMoov

inmoov repo
http://myrobotlab.org
91 stars 65 forks source link

Track voice command is borked #112

Closed hairygael closed 6 years ago

hairygael commented 6 years ago

Hello, something is not working anymore in java land regarding LKOpticalTrack.

def trackPoint():
  i01.headTracking.startLKTracking()
  i01.eyesTracking.startLKTracking()
  i01.setHeadVelocity(80, -1)
  sleep(1)
  fullspeed()

In InMoov.java:

public void trackPoint() {

    if (eyesTracking != null) {
      eyesTracking.startLKTracking();
      eyesTracking.trackPoint(0.5, 0.5);
    }

    if (headTracking != null) {
      headTracking.startLKTracking();
      headTracking.trackPoint(0.5, 0.5);
    }
}
moz4r commented 6 years ago

fixed & pushed

hairygael commented 6 years ago

Thanks Anthony, I will test tomorrow. I see there is a lot more to add now in the script.

Gael Langevin Creator of InMoov InMoov Robot http://www.inmoov.fr @inmoov http://twitter.com/inmoov

2017-10-02 23:54 GMT+02:00 Anthony notifications@github.com:

fixed & pushed

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MyRobotLab/inmoov/issues/112#issuecomment-333676459, or mute the thread https://github.com/notifications/unsubscribe-auth/AIF2x0dyWJt4fCd2WttQqEXSnNXJ75ldks5soVuigaJpZM4PqEsN .