Guest gspeed Posted October 5, 2010 Report Posted October 5, 2010 Hi - I came across an issue on my GT540 accelerometer sensor: it's rate - number of times per second you can get the sensor values- seems to be stuck to about 10Hz, i.e. each ~100ms or, said in other words just 10 values are gathered per second. :) This is bad, since to play smoothly some games or to leverage on some applications -like speedometer, pedometers etc- an higher rate is needed, at least 40Hz. FYI - the google android1.6 compatibility specs said accelerometer should be able to report at a frequency of 50Hz. So... I'm wandering if it is just my phone that is buggy and I would really appreciate if anyone could verify on his GT540. Example instruction: 1. install the free AccelerometerValues app from market 2. click Settings: set Log interval (ms) to 50 or 10ms flag "log values to file" and "file format cvs" 3. start the log for 2-3 secs 4. using Astro go to /sdcard/accelerometervalues and open the log file you should see something like: Time;X;Y;Z 80;1.253072;1.0215261;9.602345 173;0.9942854;0.7627395;10.528529 275;1.0623871;0.8036005;10.56939 378;0.9942854;0.8308412;10.147159 480;1.1032481;0.6810174;10.378705 583;1.0623871;0.6810174;10.56939 685;1.0215261;0.7218784;10.378705 788;1.0623871;0.7218784;10.2152605 941;1.0623871;0.6810174;10.446807 ... [/codebox] The time is in ms (milli-seconds) and as you can see I got a row every ~100ms THANKS! PS: for programmers, it seems the SENSOR_DELAY_GAME or FASTEST or UI etc gets ignored and it always report data using a rate suitable fore SENSOR_DELAY_UI
Guest gspeed Posted October 6, 2010 Report Posted October 6, 2010 Anyone willing to help? :) Test takes just 5mins... I'd like to know if I should return my new android phone or not - I bought it 3 days ago. Software version is "vanilla": GT540-V10b-AUG-11-2010 Not sure if an update would help...
Guest agaith Posted October 6, 2010 Report Posted October 6, 2010 Here are some values Time;X;Y;Z 614;0.14982383;7.3822284;5.706926 706;0.44947147;7.2324047;6.0882955 808;0.7218784;7.1506824;5.3936577 911;1.9477097;6.932757;5.7750273 1013;2.4108016;6.9599977;5.8567495 1116;2.4108016;7.082581;6.3198414 1220;1.334794;6.810174;5.9248514 1322;-0.6810174;7.3822284;5.9248514 1424;-1.1441092;7.84532;5.5162406 1527;-0.06810174;7.504812;5.7341666 1629;1.6344417;7.000859;5.5434813 1734;2.4516625;7.3822284;5.7750273 1835;1.1032481;6.9599977;6.0474343 1938;-0.8036005;7.3141265;5.9248514 2040;-1.56634;7.84532;5.012288 2143;1.3756552;6.537767;6.66035 2247;2.9419951;6.932757;6.428804 2348;-0.3405087;6.578628;5.1212506 2451;-0.61291564;7.9679036;6.0882955 2553;3.255263;6.347082;6.2789803 2657;1.3756552;6.006573;5.5434813 2758;-2.7104492;8.567199;6.428804 2861;2.6014864;5.9248514;6.510526 2963;2.6014864;7.2324047;5.8158884 3066;-2.901134;8.308413;6.1563973 3170;-0.10896278;10.256122;4.276789 3272;0.95342433;6.428804;-5.6252036 3375;0.8308412;2.6423476;3.636633 3478;3.0645783;0.29964766;12.93933 3580;2.3699405;2.8602731;10.7192135 3683;1.6753027;5.5434813;3.2825038 3786;1.1032481;8.458236;2.0975335 3889;-0.8308412;8.22669;2.9419951 3991;-4.3585114;9.41166;4.508335 4094;-0.53119355;7.1234417;5.8976107 4197;3.0237172;5.706926;6.0474343 4300;2.3290794;4.167826;9.575105 4403;-4.399372;3.445948;7.572913 4506;-6.891896;5.5843425;5.5843425 4608;-1.4165162;5.1212506;7.1234417 4713;0.29964766;4.903325;7.273266 4814;-2.7513103;9.343558;3.3642259 4917;1.6753027;8.22669;6.891896 5019;2.901134;7.6137743;2.9419951 5123;-0.40861043;8.22669;2.7921712 5225;-2.0294318;9.384419;4.4810944 5329;2.4789033;7.6546354;4.780742 5431;-0.5720546;7.4639506;3.7864566 5534;-3.0645783;6.347082;8.499097 5637;2.5606253;3.255263;9.071152 5740;-0.8308412;3.9771416;6.851035 5843;-6.742072;4.0588636;8.730643 5946;1.293933;0.3405087;10.2152605 6048;2.8330324;2.0294318;7.9270425 6153;-4.5491962;8.648921;5.053149 6255;-1.1441092;7.9679036;5.965712 6358;2.4516625;7.4639506;0.3405087 6461;0.44947147;8.417375;0.5720546 6563;1.6753027;8.989429;3.091819 6668;3.636633;8.22669;0.6401563 6769;3.6774938;8.689782;2.4108016 6872;1.1849703;7.6137743;5.053149 6974;5.47538;7.572913;7.504812 7077;4.671779;6.66035;1.525479 7181;-0.44947147;6.810174;3.5549107 7283;-4.671779;5.284695;8.185829 7385;-0.3405087;2.7104492;6.66035 7488;-0.44947147;4.0861044;8.648921 7591;0.44947147;3.0645783;9.724928 7705;0.0;4.3176503;7.5456724 7796;-0.38136974;4.508335;8.308413 7899;-4.971427;3.0237172;8.839605 8002;-1.7978859;1.253072;9.152874 8104;3.0645783;0.9942854;9.302697 8209;6.932757;3.13268;9.493382 8310;4.5491962;5.3527966;6.238119 8413;1.0623871;6.891896;1.484618 8516;-3.3233647;8.771504;1.56634 8619;-5.7341666;7.04172;3.9771416 8723;-6.1291566;0.6810174;7.04172 8824;-1.7978859;-1.1441092;9.602345 8927;3.255263;-1.525479;9.956474 9030;6.006573;0.25878662;10.065437 9133;6.3198414;3.3642259;7.082581 9237;3.5140498;7.6954966;3.13268 9339;0.87170225;7.572913;1.525479 9441;-2.4516625;8.771504;1.1441092 9544;-6.3879433;6.469665;3.8681788 9650;-5.3936577;-0.25878662;8.880466 9750;-0.95342433;-2.982856;8.880466 9853;3.636633;-2.9419951;10.56939 9955;4.671779;-0.7627395;9.220976 10059;5.3527966;2.2473574;8.076866 10161;2.4108016;7.6137743;4.739881 10266;-0.21792556;7.5456724;2.2473574 10425;-2.7513103;8.267551;2.2473574 10470;-5.284695;5.3527966;5.3119354 10573;-5.7341666;-0.10896278;7.6546354 10676;-3.2825038;-2.6423476;8.798744 10779;0.87170225;-3.9362805;8.567199 10881;5.3119354;-1.4437568;11.563675 10984;5.1621118;0.06810174;9.833891 11087;3.091819;7.000859;4.4810944 11192;0.9942854;7.082581;3.214402 11293;-0.19068487;8.349273;3.4731886 11396;-1.334794;8.648921;2.9419951 11498;-1.0623871;8.567199;3.9771416 11601;-0.38136974;7.6137743;6.3198414 11703;-0.38136974;7.763598;5.5434813 11806;-0.3405087;7.763598;5.5162406 11908;-0.06810174;7.3822284;5.7750273 12011;0.0;7.4639506;5.965712
Guest gspeed Posted October 6, 2010 Report Posted October 6, 2010 Here are some values Time;X;Y;Z 614;0.14982383;7.3822284;5.706926 706;0.44947147;7.2324047;6.0882955 808;0.7218784;7.1506824;5.3936577 911;1.9477097;6.932757;5.7750273 1013;2.4108016;6.9599977;5.8567495 1116;2.4108016;7.082581;6.3198414 .... Thanks agaith! So it seems you are getting values each 100ms as well :) , could you confirm you set the "Log interval" to 10 or 50ms? If yes... well this seems a problem...
Guest agaith Posted October 7, 2010 Report Posted October 7, 2010 Thanks agaith! So it seems you are getting values each 100ms as well :) , could you confirm you set the "Log interval" to 10 or 50ms? If yes... well this seems a problem... Confirmed, log interval set to 10ms.
Guest gspeed Posted October 7, 2010 Report Posted October 7, 2010 atch... so this seems a defect of the phone! :) The next step would be to understand if the latest firmware or the upgrade to 2.1 is going to fix this... ;) Anyone who did upgrade to 2.1 or apply latest firmware from LG is experiencing the same issue? Thanks
Guest AerospaceMango Posted October 7, 2010 Report Posted October 7, 2010 atch... so this seems a defect of the phone! :) The next step would be to understand if the latest firmware or the upgrade to 2.1 is going to fix this... ;) Anyone who did upgrade to 2.1 or apply latest firmware from LG is experiencing the same issue? Thanks 12:58:18 x=1.1849703 y=6.66035 z=6.810174 12:58:18 x=0.95342433 y=6.469665 z=7.3549876 12:58:18 x=0.87170225 y=6.578628 z=7.2324047 12:58:19 x=1.2258313 y=6.428804 z=7.273266 12:58:19 x=0.9125633 y=6.510526 z=7.000859 12:58:19 x=0.9125633 y=6.578628 z=7.1915436 12:58:19 x=0.9125633 y=6.469665 z=7.3141265 12:58:19 x=0.7218784 y=6.469665 z=7.3822284 12:58:19 x=0.6810174 y=6.537767 z=7.3549876 12:58:19 x=0.8308412 y=6.2789803 z=7.4230895 12:58:19 x=0.8036005 y=6.347082 z=7.4639506 12:58:19 x=0.7218784 y=6.428804 z=7.3141265 12:58:20 x=0.8036005 y=6.347082 z=7.4639506 12:58:20 x=0.6401563 y=6.428804 z=7.3141265 12:58:20 x=0.7218784 y=6.428804 z=7.3822284 12:58:20 x=0.7218784 y=6.428804 z=7.4230895 12:58:20 x=0.7218784 y=6.428804 z=7.3141265 12:58:20 x=0.7627395 y=6.469665 z=7.3549876 12:58:20 x=0.8036005 y=6.469665 z=7.3549876 12:58:20 x=0.6401563 y=6.510526 z=7.2324047 12:58:20 x=0.6810174 y=6.510526 z=7.3549876 12:58:20 x=0.8036005 y=6.3879433 z=7.3549876 12:58:21 x=0.7627395 y=6.469665 z=7.3141265 12:58:21 x=0.7627395 y=6.469665 z=7.2324047 12:58:21 x=0.61291564 y=6.537767 z=7.3141265 12:58:21 x=0.7627395 y=6.469665 z=7.273266 12:58:21 x=0.7218784 y=6.469665 z=7.3549876 12:58:21 x=0.6810174 y=6.537767 z=7.3822284 12:58:21 x=0.7218784 y=6.510526 z=7.273266 12:58:21 x=0.7218784 y=6.428804 z=7.3549876 12:58:21 x=0.7627395 y=6.510526 z=7.504812 12:58:21 x=0.7218784 y=6.428804 z=7.1506824 12:58:22 x=0.7627395 y=6.428804 z=7.3822284 12:58:22 x=0.8036005 y=6.469665 z=7.1506824 12:58:22 x=0.7627395 y=6.537767 z=7.504812 12:58:22 x=0.7218784 y=6.66035 z=7.1915436 12:58:22 x=0.4903325 y=7.2324047 z=7.6954966 12:58:22 x=2.669588 y=6.742072 z=5.5162406 12:58:22 x=2.5606253 y=6.197258 z=7.082581 12:58:22 x=0.9125633 y=7.000859 z=7.6954966 12:58:22 x=-1.6344417 y=6.769313 z=6.891896 12:58:22 x=-1.1032481 y=2.1383946 z=7.4230895 12:58:23 x=2.901134 y=3.8273177 z=8.158588 12:58:23 x=5.6660647 y=2.2201166 z=7.763598 12:58:23 x=7.1915436 y=0.7627395 z=7.3549876 12:58:23 x=8.3765135 y=0.7218784 z=6.810174 12:58:23 x=8.3765135 y=-0.21792556 z=6.578628 12:58:23 x=8.3765135 y=-0.7627395 z=6.578628 12:58:23 x=8.417375 y=-0.6401563 z=6.347082 12:58:23 x=8.349273 y=-0.6810174 z=6.578628 12:58:23 x=8.308413 y=-0.61291564 z=6.537767 12:58:24 x=8.349273 y=-0.53119355 z=6.510526 12:58:24 x=8.267551 y=-0.6401563 z=6.537767 12:58:24 x=8.267551 y=-0.6401563 z=6.578628 12:58:24 x=8.308413 y=-0.53119355 z=6.578628 12:58:24 x=8.349273 y=-0.4903325 z=6.578628 12:58:24 x=8.308413 y=-0.6810174 z=6.619489 12:58:24 x=8.267551 y=-0.61291564 z=6.66035 12:58:24 x=8.267551 y=-0.44947147 z=6.578628 12:58:24 x=8.349273 y=-0.4903325 z=6.578628 12:58:24 x=8.308413 y=-0.5720546 z=6.537767 12:58:25 x=8.349273 y=-0.5720546 z=6.537767 12:58:25 x=8.458236 y=-0.4903325 z=6.469665 12:58:25 x=8.417375 y=-0.5720546 z=6.469665 12:58:25 x=8.417375 y=-0.6401563 z=6.347082 12:58:25 x=8.499097 y=-0.53119355 z=6.2789803 12:58:25 x=8.539958 y=-0.6401563 z=6.347082 12:58:25 x=8.539958 y=-0.61291564 z=6.2789803 12:58:25 x=8.539958 y=-0.7218784 z=6.347082 12:58:25 x=7.3822284 y=-0.38136974 z=7.9270425 12:58:25 x=4.671779 y=1.293933 z=9.874752 12:58:26 x=3.2825038 y=1.7570249 z=8.308413 12:58:26 x=-0.6401563 y=1.6753027 z=8.458236 12:58:26 x=-0.9942854 y=3.5549107 z=9.874752 12:58:26 x=-1.9885708 y=5.47538 z=9.220976 12:58:26 x=-0.8308412 y=6.2789803 z=7.763598 12:58:26 x=-0.10896278 y=6.1563973 z=7.2324047 12:58:26 x=0.0 y=6.1563973 z=7.3822284 12:58:26 x=-1.0623871 y=5.09401 z=6.1291566 12:58:26 x=-0.21792556 y=5.706926 z=8.308413 12:58:26 x=-0.6810174 y=4.69902 z=8.308413 12:58:27 x=0.53119355 y=4.2495484 z=8.730643 12:58:27 x=1.6753027 y=6.347082 z=6.347082 12:58:27 x=1.1849703 y=6.428804 z=7.9679036 12:58:27 x=0.9125633 y=6.469665 z=7.273266 12:58:27 x=1.0215261 y=6.469665 z=7.1506824 12:58:27 x=0.6810174 y=6.810174 z=6.769313 12:58:27 x=1.0623871 y=6.578628 z=6.891896 12:58:27 x=0.87170225 y=6.810174 z=6.810174 12:58:27 x=0.87170225 y=6.851035 z=6.9599977 12:58:28 x=0.87170225 y=6.851035 z=6.851035 12:58:28 x=0.8036005 y=6.9599977 z=6.769313 12:58:28 x=0.87170225 y=6.932757 z=6.891896 12:58:28 x=1.1032481 y=6.701211 z=6.742072 12:58:28 x=0.9942854 y=6.742072 z=7.1915436 12:58:28 x=1.0215261 y=6.742072 z=7.082581 12:58:28 x=1.6344417 y=6.769313 z=7.000859 Those are from my upgraded 2.1 540..... Hope that helps!
Guest gspeed Posted October 8, 2010 Report Posted October 8, 2010 thanks AerospaceMango - I suppose you where trying to log at 10ms or 50ms, right? It seems you are getting about just 10 values per second, while you should get at least 20 with 50ms and much more at 10ms!!! Atch... I bought this phone in order to play with the accelereometer for a project, according to google each android 1.6 device should comply with: page 18 - http://source.android.com/compatibility/android-1.6-cdd.pdf : 8.10. Accelerometer Device implementations MUST include a 3-axis accelerometer and MUST be able to deliver events at at least 50 Hz. The coordinate system used by the accelerometer MUST comply with ....[/codebox] Not sure what to do now... shall I contact LG or return the phone? :)
Guest AerospaceMango Posted October 8, 2010 Report Posted October 8, 2010 thanks AerospaceMango - I suppose you where trying to log at 10ms or 50ms, right? Absolutely! I think if you're unhappy, you should contact LG and see what they say before sending the phone back. But that's just a personal thought!!!
Guest gspeed Posted October 8, 2010 Report Posted October 8, 2010 ok, thanks for your tests again. Just written to LG support (in Italy), let's see.... ___ Dear support, I bought a GT540 with Android 1.6 SO with the purpose to develop applications leveraging the accelerometer. I found the data rate provided by the sensor does not comply with the minimum specs (see Android CCD doc attached, page 18). Max achievable rate is just 10Hz instead of 50Hz. By discussing with other people with the very same model, I found the issue is not affecting just my device. I'd like to know if you are aware of the problem and if a firmware upgrade exists to resolve it. I understand the request is really specific, but the same goes with the expected features to claim a phone certified with Android. Pls. let me know if you need more details, feel free to have the tech support to contact me directly. Thanks. ____
Guest gspeed Posted October 17, 2010 Report Posted October 17, 2010 After one week, no reply at all from LG :) -I wrote them again, I expected at least an automatic reply stating that the question has been received, but nothing... I wonder what else this might be affecting, for example, playing games should not be as smooth as it should be, applications like pedometer or speedometer should not work well- however it seems to me noone is complaining :)
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now