View Single Post
Posts: 104 | Thanked: 46 times | Joined on Sep 2010 @ New York City
#3
Originally Posted by Blaizzen View Post
Hi!
Not sure if this is a bug relating to Qt mobility or Maemo 5

With reading sensor values through mobility and values through "/sys/class/i2c-adapter/i2c-3/3-001d/coord" I've found the Y and Z values to be inverse (apart from other things). Lying the phone face up, it gives me

Through Qt Mobility: 0.35, 0.35, 9.5
through reading file: 36, -36, -954

Would this be a maemo bug since according to this page, face up should give a positive z value (http://doc.qt.nokia.com/qtmobility-1.0/sensors-api.html).

Additionally why are the values all have different ranges. Qt Mobility on the simulator has -50 to +50, on maemo -10 to +10 while reading the values from that file gives -1000 to +1000. Would other phone models behave similarly (eg would the N8 or N9 have the same ranges as maemo or closer to the simulator)?


I've attached the project i used to test it.
This thing is definitely a bug. My accelerometer is acting weird after updating to PR 1.3. Anyway to solve this issue?