How to make accelerometer refresh faster?

Put your problem here if it does not fit any of the other categories.

How to make accelerometer refresh faster?

Postby cheezman34 » Mon Sep 13, 2010 6:44 pm

Hi everyone,

I'm new to android development, and was working on an app using the accelerometer. My app (probably) requires an accelerometer refresh rate somewhere around 50-60 hz, but the fastest I can seem to get right now is ~30 hz using SENSOR_DELAY_FASTEST. I'm testing on a Nexus One, and measuring the hz by simply counting the sensor update calls and logging them every second. I don't think it's a physical limitation of the accelerometer, because I looked up a data sheet and it said the chip should get somewhere around 3000 hz.

Does anyone have any ideas on how I could make it faster? Or is it even possible to do so?

I'd post the code, but I'm on the wrong computer right now and don't have access to it. If someone wants to look at the code, I'll put it up when I can.
cheezman34
Once Poster
Once Poster
 
Posts: 1
Joined: Mon Sep 13, 2010 6:26 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher and 12 guests