[SailfishDevel] QMagnetometer info from Jolla

Robin Watson robin.james.watson at gmail.com
Sun Apr 6 15:32:19 UTC 2014


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>:

> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140406/4b4b2080/attachment.html>


More information about the Devel mailing list