[SailfishDevel] Calibration level of the compass sensor always 1.0?
Ove Kåven
ovek at arcticnet.no
Thu May 1 12:01:18 UTC 2014
Den 29. april 2014 21:59, skrev Jussi Vuorisalmi:
> Hello,
>
> I am using the QML compass sensor in my QML application.
>
> The compass sensor and azimuth reading work as expected, but the
> calibration level (reading.calibrationLevel) always seems to give just
> the same value: 1.0 (i.e. 100%, perfectly calibrated). According to the
> documentation the value should vary between 0.0-1.0.
Does it also say *when* it should vary? As I understand the
documentation, it is only likely to ever go below 1.0 if you fix it to a
car (or a bike, whatever) and drive across the city in a straight line
without turning, or if you turn the device off and then back on.
(Rotating the device always helps the device calibrate itself, so in
normal usage a loss of calibration won't happen.)
Also, if it ever gets below 1.0, then you're supposed to explicitly ask
the user to wave the phone around a bit. When the calibration level gets
back to 1.0, the calibration process is complete, and you should tell
the user about that. This is not supposed to be something the user
should be bothered with very often, so the sensor will, of course, try
to keep the level at 1.0 until recalibration is *really* necessary.
More information about the Devel
mailing list