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.

Is this expected behaviour, a known issue or something wrong on my side?

I have something like this in the code:

import QtQuick 2.0
import QtSensors 5.0

Item {
    property real calibration: 1.0
    property real azimuth: 0.0

    Compass {
        onReadingChanged: {
            azimuth = reading.azimuth;
            calibration = reading.calibrationLevel
        }
    }
}



--
Jussi
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to