High speed streaming / workarounds for the streaming limit
Is there some way to increase the speed of the streaming for the accelerometer? Changing the sampling rate does not have an effect.
For my application I want to stream the data and check against some movement signature. Then I want to store the accelerometer values at X ms before and after.
The sensor in the rpro has a max sampling speed of 1500hz but transmits it via stream at something like 100hz.
For my application I want to stream the data and check against some movement signature. Then I want to store the accelerometer values at X ms before and after.
The sensor in the rpro has a max sampling speed of 1500hz but transmits it via stream at something like 100hz.
Edit:
I saw that in another post ( http://community.mbientlab.com/discussion/1615/problems-with-low-sampling-frequency-on-ios ) the sampling frequency is limited at around 100Hz because of bandwidth issues.
Would it be possible to stream the data at 100hz but keep a more detailed log on the device to be transmitted with more accuracy later?
For example, I store the last 3000 samples on the device, dropping off the oldest item whenever I record a new one. Simultaneously I stream the data. When I notice some characteristic movement in the streamed data, I retrieve those last 3000 entries from the device. Is this possible?
This discussion has been closed.
Comments
You don't need a splitter to log and steam. The splitter is for data processors, as searched in the documentation:
https://mbientlab.com/androiddocs/latest/routing_sensor_data.html#splitter
What you can do is set the odr to your desired rate and use a time filter to reduce the streaming rate.
mode
- Operation mode of the processorperiod
- How often to alllow data through, in milliseconds