maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   accDisplay - View/Record/Playback accelerometers' data (https://talk.maemo.org/showthread.php?t=37075)

cpscotti 2009-12-13 21:56

accDisplay - View/Record/Playback accelerometers' data
 
Here's another "sunday app" (strictly aimed at developers/curious people).
I think lot's of people out there are wondering what you can and what you cannot detect with the accels.. to help this kind of questioning I wrote this small app... "accDisplay".

At the main window you can watch in real time the data coming from the accels. and some graphical representation of three vectors (yellow) and their sum (blue).

Using the buttons on the bottom you can record a stream of data, saving it in a xml file and also playback those files. When in playback mode you can change the playback velocity so that it's easier to evaluate some "movement".

There's even an option for Exponential Smoothing of the data being displayed.

http://www.das.ufsc.br/~scotti/accDisplay/sshot1.png

http://www.das.ufsc.br/~scotti/accDisplay/sshot2.png

Download .deb

Files

Well... have fun..
(See the bright side: this is a new thread without any complaints/bug/hating)

Happy n900 owner here!

That One Guy 2009-12-13 22:07

Re: accDisplay - View/Record/Playback accelerometers' data
 
This look pretty cool. I'm going to try it out.

HoX 2009-12-13 23:44

Re: accDisplay - View/Record/Playback accelerometers' data
 
will it be available in extras?

cpscotti 2009-12-13 23:53

Re: accDisplay - View/Record/Playback accelerometers' data
 
ok.. this brings a good question... What should one do to submit an app to extras?

dput to where?
Well.. I'm familiar with ubuntu's revu and all.. but I'm still postponing meamo's..

..

cpscotti 2009-12-13 23:59

Re: accDisplay - View/Record/Playback accelerometers' data
 
Quote:

Originally Posted by cpscotti (Post 426421)
ok.. this brings a good question... What should one do to submit an app to extras?

dput to where?
Well.. I'm familiar with ubuntu's revu and all.. but I'm still postponing meamo's..

..

http://wiki.maemo.org/Uploading_to_Extras

(lol)

cpscotti 2009-12-14 18:04

Re: accDisplay - View/Record/Playback accelerometers' data
 
App now in extras-dev!!

cpscotti 2009-12-17 21:10

Re: accDisplay - View/Record/Playback accelerometers' data
 
Hi again.. just to ask for some votes for the app.. I believe it is ready for "prime-time", simple but useful..
It already got 6 votes (out of 10)... vote on:
http://maemo.org/packages/package_in...ccdisplay/1.0/

unkno 2009-12-29 09:38

Re: accDisplay - View/Record/Playback accelerometers' data
 
It'll be interesting if the data could be used to calculate velocity/acceleration.

ndi 2010-01-10 14:06

Re: accDisplay - View/Record/Playback accelerometers' data
 
Hi, cpscotti.

Is this your app? I'm interested in expanding the scope of the app for interpreting on PC/device and I was wondering where to direct my inquiry. I was thinking about timestamped acc data for more precise playback. Also, is the log rate increaseable?

Trial car run here.

Flynx 2010-06-26 03:33

Re: accDisplay - View/Record/Playback accelerometers' data
 
Would it be difficult to add a time-stamp to the logged data?

cpscotti 2010-06-29 03:06

Re: accDisplay - View/Record/Playback accelerometers' data
 
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.

cpscotti 2010-06-29 04:51

Re: accDisplay - View/Record/Playback accelerometers' data
 
no... it wouldn't be difficult.
(in fact it will be trivial..)
just give me some time.

maxppc 2010-07-28 21:04

Re: accDisplay - View/Record/Playback accelerometers' data
 
Missing dependencies in PR1.2, how can I install this app now?

abuelmagd 2010-09-24 02:04

Re: accDisplay - View/Record/Playback accelerometers' data
 
this app is great. i use the live display to calculate the tilt angle of any plain. it helps me at work. i take the y and z component of the 1g that should exist and apply very trivial trignometry which gives me the incline angle of any sloped surface. thank you so much to the developer.

Edit:

In the spirit of sharing and even though the trigonometry is simple I thought I should include it here. Also if the developer would like he can add to the live display the phone's angle based on this equation.

So basically if the phone is laying on angled surface in 2 dimensions (meaning that one dimension is not tilted). In my case I place my N900 on the surface with the screen facing me so I can see the readout. The x-component of the acceleration is close to zero. Usually x=-0.03 or something similar because of the lens cover which tilts the phone a little bit in that direction. Now you should read the y and z components and use them in the following formula:

theta = 90 - atan(z/y)

Make sure though that you calculate the arctan in degrees otherwise you will have to convert from radians to degrees.


All times are GMT. The time now is 15:53.

vBulletin® Version 3.8.8