Re: [SailfishDevel] QMagnetometer info from Jolla

2014-04-07 Thread Robin Watson
Hi Lorn, Thanks. I found the show_magneticflux.py example and modified it to use PyQt5 and QtSensors. I see that it gives me sensible raw values, but the geo-corrected values do not change - and it is geo-corrected values I am trying to access. When I modify my code to access raw values, it's OK.

Re: [SailfishDevel] QMagnetometer info from Jolla

2014-04-06 Thread Lorn Potter
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. W

Re: [SailfishDevel] QMagnetometer info from Jolla

2014-04-06 Thread Robin Watson
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 : > Hi, > I am having trouble getting any

[SailfishDevel] QMagnetometer info from Jolla

2014-04-06 Thread Robin Watson
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