Compass isn't supported

Bug #1398809 reported by Michael Sheldon
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
anchoralarm
New
Undecided
Unassigned
qtubuntu-sensors
New
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.

Revision history for this message
Lorn Potter (lorn-potter) wrote :
Revision history for this message
Sayonara Player Team (lucioc) wrote :

Is the compass support actually planned for further releases?

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.