View Single Post
Blaizzen's Avatar
Posts: 397 | Thanked: 802 times | Joined on Jan 2010 @ Sydney
#1
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.
Attached Files
File Type: zip test.zip (4.2 KB, 78 views)

Last edited by Blaizzen; 2010-11-12 at 00:45.