Android Question orientation of the phone imu style for head tracking

Discussion in 'Android Questions' started by Victor jung, Jun 5, 2015.

  1. Victor jung

    Victor jung Member Licensed User

    As developing a google cardboard app, i am trying to track the head position in the space, head pan tilt.
    I tried with the TYPE_ORIENTATION sensor, but all the axis, moves when moving only one angle... any ideas what TYPE_ORIENTATION sensor actually measures?
    Also how should I code that?
    I read this:[], float[])

    But still I am not sure what it does measure, and, how to use this function... not in phone sensor library I guess...
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Victor jung

    Victor jung Member Licensed User

    thanks for your reply, this is already the example I used.
    The accelerometer is good fo static position measuring, but during the moves, values are wrong because of head aceleration. Normally I should use, a combination of accelerometer gyroscope and magnetometer, but I think orientation sensor does this already, just dont understand wich values it gives...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice