[SailfishDevel] QMagnetometer info from Jolla
Lorn Potter
lorn.potter at jolla.com
Mon Apr 7 06:36:29 UTC 2014
Hi Robin,
I just tested the mag sensor on 1.0.4.20 using a show_magneticflux
example app, which uses QMagnetometer and it seems to be working.
There were some eariler version of sailfish that did not have a working
compass/mag, but these were fixed. Odd that compass works but mag does not.
What version of sensorfw is installed?
Perhaps you could email me the journal logs as well?
Thanks-
Lorn
On 07/04/14 01:32, Robin Watson wrote:
> Hi,
> Sorry I got the anticipated magnitude wrong there - the observed
> values (the order of tens of uT) seem OK actually, but they never
> change, so I still have some sort of problem with QMagnetometer.
> Regards,
> Robin.
>
> 2014-04-06 17:15 GMT+02:00 Robin Watson <robin.james.watson at gmail.com
> <mailto:robin.james.watson at gmail.com>>:
>
> Hi,
> I am having trouble getting any sensible magnetometer information
> from my Jolla. I create a QMagnetometer instance, and start it,
> and it triggers readingChanged() regularly. But when I examine the
> QMagnetometerReading values, they never change, and are not
> sensible magnetic field values. (I get around 10^-5 for each of x,
> y and z, whereas I would expect the order of 40-50 nT for the
> magnitude).
>
> Using QCompass and QCompassReading, I can get sensible compass
> azimuth data - so the device magnetometer is presumably
> functioning OK. I can also get accelerometer data OK.
>
> My Jolla runs Sailfish 1.0.4.20, and I'm using Qt 5.1 for Mer.
>
> Is the QMagnetometer sensor something that is just not working
> yet? If not, when can we expect this feature?
>
> Thanks and regards,
> Robin.
>
>
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
More information about the Devel
mailing list