OpenSensing / ios-opensensing

OpenSense iOS library and OpenSense Collector app
4 stars 2 forks source link

OSMotionProbes should all record at the same time #8

Closed RogerTangos closed 9 years ago

RogerTangos commented 10 years ago

Right now, different OSMotionProbe subclasses' startProbe methods called individually. As a result, the probes are often out of sync with the frequency/duration of their recordings.

It's possible to get almost-simultaneous data and to reduce battery drain from CoreMotion by 1/3 by syncing these up.

RogerTangos commented 10 years ago

This is in the process of being solved. Speaking of... does anyone have objections to my removing the accelerometer/gyroscope/magnetometer probes, and replacing them with CoreMotion? I've done that in a fork of the project, and honestly, it makes everything much much easier to keep track of. Or am I just talking to myself here? Let me know soon, because I'd like to pull that commit if possible.

h0pbeat commented 10 years ago

Absolutely, CoreMotion makes sense.