leap motion - Getting Yaw of hand unstable -


i making puppet app leap motion. whenever try , yaw of hand seems wrong (ie: hand flat says @ 45 degrees or hand flat , says @ -30 degrees, unreliable , jumpy). use

    hand hand = frame.hands().get(0);      palm1position = hand.palmposition();      normal = hand1.palmnormal();     direction = hand1.direction();      palmroll = math.todegrees(normal1.roll());     palmyaw = math.todegrees(direction1.yaw()); 

to roll , yaw of hand. roll works yaw horrible. problem because marionettes rely heavily on yaw. idea why happening , how can fix it?

i'm in javascript , don't think have yet, java docs should have this

float pitch = hand.direction().pitch(); float yaw = hand.direction().yaw(); float roll = hand.palmnormal().roll(); 

see https://developer.leapmotion.com/documentation/languages/java/guides/leap_tracking.html


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -