1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android sensors and phone orientation

Discussion in 'Android Lounge' started by Geomod, Dec 28, 2011.

  1. Geomod

    Geomod Lurker
    Thread Starter

    Hello, as you could notice this is my first post here.

    I'm going to make some vision based navigation with an android device (using it's camera and if possible it's sensors). I will need to use a sensor to detect the orientation (or the change on it), I think that the digital compass should be enough to know where it's heading, however since the phone should be in a position so that the camera heads front I doubt that the information from the compass will be accurate. I don't know if a gyroscope or an accelerometer could help me with this problem.

    To recap: The phone should be perpendicular to the floor (it can be either horizontal or vertical position), and I need to know the orientation of the phone.
    Can I know this with the phone sensor?, does it need a gyroscope to accomplish that? what kind of information and in which axis of the phone can I get from and accelerometer in an android phone?

    BTW: which one (Atrix 4g or galaxy S captivate) is a better choice in terms of sensors?

    Sorry for my english (any correction would be helpful).

    Thanks for your help.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. chrstdvd

    chrstdvd Android Enthusiast

    I know of two apps that use the phone's position info to accomplish tasks, Screebl and GPS Status.

    GPS Stats has bubbles for pitch and roll. Perhaps you could look it up in the Market and get in touch with the author for guidance on how to access what you need for your app.
     
    Geomod likes this.
Loading...
Similar Threads - Android sensors phone
  1. Advait
    Replies:
    0
    Views:
    25
  2. annie333
    Replies:
    6
    Views:
    194
  3. pro100umarchik
    Replies:
    4
    Views:
    429
  4. cocotus
    Replies:
    2
    Views:
    613
  5. Leodev
    Replies:
    1
    Views:
    559
  6. Dw1892
    Replies:
    2
    Views:
    573
  7. The_Chief
    Replies:
    4
    Views:
    484
  8. 20GT
    Replies:
    7
    Views:
    656
  9. Joshua Jackson
    Replies:
    4
    Views:
    557
  10. Veez999
    Replies:
    6
    Views:
    1,000

Share This Page

Loading...