.Net Class for Invensnese ICM-20948
I've written the attach class to get the accelerometer and gyro data from the ICM-20948 unit.
Unfortunately the data fluctuates massively when I am trying to do a basic calibration.
Can anyone help me? Am I getting the reading correctly or is it my calibration that is off.
The unit is by itself flat in another room with not noise or anything there.
My current usage is
For completeness from the pi
3 Replies
Also here is a copy of the sample data I have.
I have updated my class with the following tweaks to the calibration:
1. Median adjustments
2. Moving average adjustments
3. low pass filter adjustments
I have added in bandwidth testing as well, so when setting up I am effectively calling;
Also when getting the data i now get a sample of 10 values
where