Accelerometer Data Gatherer App or Code

Is there some an app that any one has made that will gather x,y,z accelerometer data and store it? I’m thinking of a golf swing app and I need to gather some data on swings and such.

Thanks,

Danny [import]uid: 59140 topic_id: 34005 reply_id: 334005[/import]

Hello,
I’m not aware of a code-share example for this, but shouldn’t it be possible to gather this data using the accelerometer event listener and storing/filtering at least some of it (not all of it necessarily), storing it in a Lua table?

Best of luck with this and your idea!

Brent [import]uid: 200026 topic_id: 34005 reply_id: 135218[/import]

Hello,
I’m not aware of a code-share example for this, but shouldn’t it be possible to gather this data using the accelerometer event listener and storing/filtering at least some of it (not all of it necessarily), storing it in a Lua table?

Best of luck with this and your idea!

Brent [import]uid: 200026 topic_id: 34005 reply_id: 135218[/import]

Hi Brent!

I did think about that I just figured it would be easier if some one had layed down some code for it previously in the forms or code share. The other thing is, can I do the same thing with the gyroscope? Making a lua table for it and the accelerometer at the same time?

Danny [import]uid: 59140 topic_id: 34005 reply_id: 135649[/import]

Hi Danny,
It’s certainly possible to use both the accelerometer and gyroscope at the same time. Keep in mind, however, that for t1-t0 data reads (subsequent data reads at different time intervals) there are some flaws in the approximation values, and that is due to the hardware layer. You’ll just have to test this out and see how it works. Have fun! :slight_smile:

Brent
[import]uid: 200026 topic_id: 34005 reply_id: 135660[/import]

Hi Brent!

I did think about that I just figured it would be easier if some one had layed down some code for it previously in the forms or code share. The other thing is, can I do the same thing with the gyroscope? Making a lua table for it and the accelerometer at the same time?

Danny [import]uid: 59140 topic_id: 34005 reply_id: 135649[/import]

Hi Danny,
It’s certainly possible to use both the accelerometer and gyroscope at the same time. Keep in mind, however, that for t1-t0 data reads (subsequent data reads at different time intervals) there are some flaws in the approximation values, and that is due to the hardware layer. You’ll just have to test this out and see how it works. Have fun! :slight_smile:

Brent
[import]uid: 200026 topic_id: 34005 reply_id: 135660[/import]