Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User smitis's Avatar
    Join Date
    Oct 2011
    Posts
    44
    Hi,

    I wrote simple a program that shows value of acceleration on x,y and z. On QT simulator is maximum 50 but in real my N8 show only 19,62. And when N8 lies face up on a desk, value of +z axis is only 8,4 and not 9,8. Can anybody tell me what is wrong? Thanks.

  2. #2
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,293
    Most Symbian devices have their sensor data read via the Sensor Framework API. Some limitations appear in the Sensors API as a result.

    Read this : QAccelerometer sensor API

    regards,
    rahul

  3. #3
    Registered User smitis's Avatar
    Join Date
    Oct 2011
    Posts
    44
    I have found some solution. Accelerometer have 2 output ranges, first is [-19,62; 19,62] and second is [-78.48; 78,48]. So I used accelerometer.setOutputRange(1). But when I start app and mobile lay face up on a desk, value of +z was now 30 - there was the same increase of value. So there is no difference between output ranges. Can you explain me why? I have tried also sensor.setProperty("maximumReadingCount", 100);
    sensor.setProperty("processAllReadings", false); but no change.

Similar Threads

  1. help using accelerometer
    By nettserf in forum Python
    Replies: 2
    Last Post: 2010-04-01, 16:42
  2. Need help with accelerometer
    By andref999 in forum Python
    Replies: 2
    Last Post: 2009-11-09, 05:15
  3. Help with Accelerometer
    By andref999 in forum Symbian C++
    Replies: 1
    Last Post: 2009-11-08, 17:42
  4. N95 Accelerometer & JSR-256
    By AnthonyAndrews in forum Mobile Java General
    Replies: 9
    Last Post: 2009-04-21, 22:12
  5. Accelerometer API for N95?
    By Holy Samosa in forum Symbian C++
    Replies: 13
    Last Post: 2007-11-02, 10:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved