Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #2705

Re: Android Sensor Coordinates

Date 2011-04-01 17:51 -0700
From Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com>
Newsgroups comp.lang.java.programmer
Subject Re: Android Sensor Coordinates
References <in34ov$2ts$1@lust.ihug.co.nz> <fsCdnQCv4rXYtQjQnZ2dnUVZ_vOdnZ2d@posted.palinacquisition> <in542s$u65$1@news.albasani.net>
Message-ID <HOCdneeOa5GY7gvQnZ2dnUVZ_oednZ2d@posted.palinacquisition> (permalink)

Show all headers | View raw


On 4/1/11 11:02 AM, BGB wrote:
> [...]
> although...
>
> with the information provided thus far, once could still infer tilt via
> the accelerometer...

Absolutely.  The information is there.  It's just not being presented as 
such.  If you make an assumption about the accelerometer-equipped device 
as a whole not being accelerated, and further assume that it's being 
used on the surface of the planet, the constant acceleration due to 
gravity provides a frame of reference from which tilt can be inferred 
from the observed acceleration.

One can even filter the data (similar to seen in the documentation) to 
attempt to determine tilt from a device that is in fact being subject to 
some other (relatively constant) acceleration.

But, all that inference comes at a price, both computationally and in 
precision.  There's a reason that the Wiimote, in spite of having a 
reasonably accurate three-axis accelerometer, derives partial tilt 
information from the IR transmitter bar instead.

ObJava: sorry, what?

Pete

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Android Sensor Coordinates Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-01 13:03 +1300
  Re: Android Sensor Coordinates Patricia Shanahan <pats@acm.org> - 2011-03-31 17:53 -0700
    Re: Android Sensor Coordinates Lawrence D'Oliveiro <ldo@geek-central.gen.new_zealand> - 2011-04-01 15:44 +1300
  Re: Android Sensor Coordinates Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-03-31 18:20 -0700
    Re: Android Sensor Coordinates BGB <cr88192@hotmail.com> - 2011-04-01 11:02 -0700
      Re: Android Sensor Coordinates Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2011-04-01 17:51 -0700
        Re: Android Sensor Coordinates Lew <noone@lewscanon.com> - 2011-04-01 21:23 -0400

csiph-web