Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Store CoreMotion data at 100 Hz efficiently

tropictropic Posts: 117New Users @ @
edited February 1 in iOS SDK Development
Hi,

I want to store CoreMotion data at 100 Hz, i.e. accelerometer and gyroscope data.

Due to the amount of data points, what considerations and approach should I take when storing the data on the device, for instance I am thinking:
  • Save data to a text file (CSV) or CoreData immediately and not in a variable to avoid data loss in the event of app crash
  • What limitations should I be aware of if writing continuously to a text file or CoreData?
  • Any better approach to storing the data continuously, e.g. storing it in batches every 1 sec.?
  • Store the data in a background thread to avoid UI blocking
Post edited by tropic on
Sign In or Register to comment.