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


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

Re: Android Sensor Coordinates

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Android Sensor Coordinates
Date 2011-04-01 21:23 -0400
Organization albasani.net
Message-ID <in5tpv$b63$1@news.albasani.net> (permalink)
References <in34ov$2ts$1@lust.ihug.co.nz> <fsCdnQCv4rXYtQjQnZ2dnUVZ_vOdnZ2d@posted.palinacquisition> <in542s$u65$1@news.albasani.net> <HOCdneeOa5GY7gvQnZ2dnUVZ_oednZ2d@posted.palinacquisition>

Show all headers | View raw


Peter Duniho wrote:
> 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.

Thanks, you guys, for that incredibly interesting and helpful discourse.

Android's as on topic as anything else about Java in this group, AFAICS, 
besides which the algorithmic insights are universal and unquestionably of use 
to the Java programmer.

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious 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