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.wat...@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