03-19-2019 03:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-19-2019 03:54
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hey everyone,
I am developing an app on Fitbit Ionic which needs accelerometer and gyroscope data. I am using the built in sensor APIs with a sampling rate of 20 Hz with a batch size of 20. My problem is that if I do this:
acc.start() gyro.start()
there is some asynchronity between the individual readouts of the sensors. Is there a way to synchronize them such that the gyro evaluates at the exact same timestamps as the accelerometer?
If not, what workaround would you suggest? My idea would be to check whether the initial readout of a gyro batch was in the same second as the corresponding accelerometer batch and then "glue" them together.
I appreciate any help or suggestions.
Best
Simon
Answered! Go to the Best Answer.

Accepted Solutions
03-19-2019 08:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-19-2019 08:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It's come up before and I have a feature suggestion tracked internally for this.
I think the only way would be to merge the data into another array as you suggested.

03-19-2019 08:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-19-2019 08:10
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
It's come up before and I have a feature suggestion tracked internally for this.
I think the only way would be to merge the data into another array as you suggested.

03-19-2019 08:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-19-2019 08:12
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks for the quick reply. I would also highly appreciate such a feature.

07-10-2019 06:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-10-2019 06:23
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Any Updates to this? I need to have the gyro and acc reading data synced together at 100hz.

04-16-2022 02:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

04-16-2022 02:26
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
hello, can anyone help me with my project? its related to this topic, i can pay. thanks
