[Interest] Something funny. QAccelerometer
Aaron McCarthy
mccarthy.aaron at gmail.com
Thu Dec 19 01:23:16 CET 2013
Hi,
On Wed, 18 Dec 2013 09:28:36 Guido Seifert wrote:
> On Tue, 17 Dec 2013 17:13:06 -0800
>
> Thiago Macieira <thiago.macieira at intel.com> wrote:
> > On quarta-feira, 18 de dezembro de 2013 01:28:52, Guido Seifert wrote:
> > > > If it that square root returns zero, the computer is in free fall.
> > >
> > > Hi, Thiago, you are right, of course. Never gave it much thought since I
> > > never took the whole topic serious. I was just surprised that according
> > > to
> > > Qt I have an accelerometer in my machine, which in a way even gives
> > > sensible values.
> >
> > The most likely reason for that is that you actually have an accelerometer
> > somewhere :-)
>
> I don't think so. I thought that maybe one of the hard disks may have one
> without my knowledge. Event though I don't think that Qt could detect this.
> I am running Linux and checked with sensor-detect, lspci, lsusb, checked the
> loaded modules what drivers are installed, and searched /sys. Nothing.
> Furthermore I have my desktop on a table with wheels, so I actually could
> move it. The values didn't change at all. Most unlikely that there is an
> accelerometer somewhere.
What sensor plugins do you have installed? Check in
QT_INSTALL_PLUGINS/sensors. Perhaps there is a plugin installed that is
providing dummy sensor data for testing purposes.
Cheers,
--
Aaron McCarthy
More information about the Interest
mailing list