Filtering Sensor Fusion Data
I would like to log sensor fusion data but apply the following filters:
- Only store data when the device is moving (not static)
- When the device is moving, only store every 10th data point (100Hz data is not required)
Are there any code examples where this, or similar has been achieved?
Would i have to use gyro or accelerometer data to choose when to store the sensor fusion data: ie. when a spike in acceleration is detected, then store the quarternion?