touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24451
[Bug 1131765] Re: QML Accelerometer is always (useless) dummy.accelerometer
The dummy sensor plugin is useless by design, and emulates what an
accelerometer would be like in a desktop computer.
Noted from source code:
// Your average desktop computer doesn't move :)
It could probably be changed to provide some easy sine wave data, but I
am not sure it's worth it.
Also note from the initial commit message (in qtmobility):
Generic is for things like "orientation based on accelerometer".
Dummy is for things like "give me an accelerometer on my desktop for testing".
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtsensors-opensource-src
in Ubuntu.
https://bugs.launchpad.net/bugs/1131765
Title:
QML Accelerometer is always (useless) dummy.accelerometer
Status in “qtsensors-opensource-src” package in Ubuntu:
New
Bug description:
Tested on gnex, nex4 phones. Using QML to create the Accelerometer,
the identified device is "dummy.accelerometer" and it returns no
useful data (static x:0, y:g (aka 9.81m/s), z:0).
Snippet:
Row {
Label {
text: "Accel: "
fontSize: "large"
}
Label {
id: sensor
text: "..."
fontSize: "large"
}
}
Accelerometer {
id: accel
onReadingChanged: { sensor.text = accel.identifier; stop() }
active: true
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtsensors-opensource-src/+bug/1131765/+subscriptions