Using processors and filters to control streaming data
I learned from the documents that onboard processor can do some basic data filtering and processing. I wonder if this use case can be implemented to save battery:
The sample frequency f is predefined.
1. After connection, the data routes are configured. By using filters and processors, still signals (increment of the acceleration is less than the threshold) are filtered and not sent in the stream.
2. If a sample point's acceleration exceeds the threshold, the data point will be sent out.
3. The following 3*f data points (within 3 seconds) will be sent no matter it's still signal or not
4. If there's any data point's acceleration exceeds the threshold within the 3-second period, the 3-second period is refreshed and extended.
I had a hard time figuring out how to implement 2~4 with the filters and processor. Can you help me out?
This discussion has been closed.