Spatial 3/3/3 data in an array

Supporting 4.1 and up
brunoramos96
Phidgetsian
Posts: 5
Joined: Wed Sep 26, 2018 2:14 pm
Contact:

Spatial 3/3/3 data in an array

Postby brunoramos96 » Wed Dec 05, 2018 2:05 pm

Hi there,

Is it possible to save acceleration data from Spatial 3/3/3 in an array, in order to apply the FFT? How can I do that on android studio?

Thanks

User avatar
Patrick
Lead Developer
Posts: 3019
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Spatial 3/3/3 data in an array

Postby Patrick » Fri Dec 07, 2018 9:57 am

Hi,

Dump acceleration data into a queue from the AccelerationChange event, and then operate on that queue as you like. I have done this in C#, not sure what FFT libraries are available on Android, but it should be fairly straightforward.

-Patrick


Return to “Android”

Who is online

Users browsing this forum: No registered users and 1 guest