Compass isn't supported

Bug #1398809 reported by Michael Sheldon on 2014-12-03
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
anchoralarm
Undecided
Unassigned
qtubuntu-sensors
Undecided
Unassigned

Bug Description

The current back-end being used for QtSensors doesn't support the compass sensor found in most modern phones (including krillin and mako). Compass readings are useful for augmented reality, navigation, geocaching and astronomy/sky viewer applications.

Steps to reproduce:

1) Run following QML:

import QtSensors 5.0
import Ubuntu.Components 1.1

MainView {
        Compass {
            active: true
            onReadingChanged: {
                console.log("Reading: " + reading.azimuth);
            }
        }
}

Expected result:

 Compass readings should be output on the console

Actual result:

 No output.

Lucio Carreras (lucioc) wrote :

Is the compass support actually planned for further releases?

Lorn Potter (lorn-potter) wrote :

As a low level note, SensorManager.getOrientation is the way to get android's sensor fused azimuth.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers