maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Accelerometers (https://talk.maemo.org/showthread.php?t=29091)

Master of Gizmo 2009-06-15 19:33

Re: Accelerometers
 
Quote:

Originally Posted by lcuk (Post 293975)
does the tiltstick use the same format and sysfs entries as the built in commands?

No, it doesn't. But the page now says that there'll perhaps be a library.

Master of Gizmo 2009-06-16 12:19

Re: Accelerometers
 
The enigma game is now in fremantle extras-devel and includes accelerometer support.

qgil 2009-06-17 05:53

Re: Accelerometers
 
Quote:

Originally Posted by Master of Gizmo (Post 297127)
The enigma game is now in fremantle extras-devel and includes accelerometer support.

And works in a real device with great precision! I benchmarked yesterday with a device and 2 users without NDA: my 2 and 4 year old kids. It was the first time they played anything like this and they did move the device naturally based on their knowledge on real gravity. They even got through the levels 1 and 2!

My big son asked me whether that was a real ball.

X-Fade 2009-06-17 08:23

Re: Accelerometers
 
Quote:

Originally Posted by qgil (Post 297394)
My big son asked me whether that was a real ball.

It amazing how kids perceive the world at that age, makes you wonder what we can learn from them :)

mikkov 2009-06-21 22:26

Re: Accelerometers
 
Quote:

Originally Posted by Master of Gizmo (Post 297127)
The enigma game is now in fremantle extras-devel and includes accelerometer support.

How enigma is using the accelerometer? Is it using it through libtiltstick?

Accelerometer really needs some documentation. The wiki page doesn't count as documentation atm :)

Jaffa 2009-06-22 13:14

Re: Accelerometers
 
Indeed, I've got a great idea for a simple app using the accelerometers; but am unsure whether it's best to poll the sysfs interface directly, or some other mechanism.

qgil 2009-06-22 19:21

Re: Accelerometers
 
Please file a bug for the lack of official documentation on how to use the accelerometers. I put together the wiki page as a temporary solution.

VDVsx 2009-06-22 19:32

Re: Accelerometers
 
Quote:

Originally Posted by qgil (Post 298722)
Please file a bug for the lack of official documentation on how to use the accelerometers. I put together the wiki page as a temporary solution.

https://bugs.maemo.org/show_bug.cgi?id=4724

Feel free to add more specific requests on the documentation that should be provided.

Thesandlord 2009-06-22 19:39

Re: Accelerometers
 
Quote:

Originally Posted by qgil (Post 297394)
It was the first time they played anything like this and they did move the device naturally based on their knowledge on real gravity.

Never played with an iPhone or Wii have they? My 3 year old cousin loves to play that ball game on his dad's iPhone...

Master of Gizmo 2009-06-30 06:24

Re: Accelerometers
 
Quote:

Originally Posted by mikkov (Post 298496)
How enigma is using the accelerometer? Is it using it through libtiltstick?

Nope, i just polls the sysfs. I completely removed tiltstick support as only 2 or 3 devices ever had the necessary hardware.

But i agree that some generic tilt sensor solution is required which may then again include support for the tiltstick.


All times are GMT. The time now is 12:56.

vBulletin® Version 3.8.8