Comments (3)
It's more complicated than this. According to the Invensense application note on calibration, the bias is stored at 4096/LSB sensitivity IIRC. But I found that if I used this I got the wrong bias correction. So I used 2048/LSB which produced better results. This might have to do with the way I am treating the temperature bit, which I need to correct. So the point is, the scale at which the bias registers store the data has nothing to do with the scale used to collect the data. And I ended up usually just applying the bias in the main loop anyway and not using the accel bias registers. I do use the gyro bias registers though.
from mpu9250.
It seems that I misinterpreted your code ^^'. In fact you store the bias as if it begins from bit 0 instead of bit 1. So dividing by 8 instead of 16 is correct.
For the temperature bit, maybe using 0xFE mask for LSB will help :
data[1] = (accel_bias_reg[0]) & 0xFE;
from mpu9250.
Yes, this is the fix.
from mpu9250.
Related Issues (20)
- 5 different MPU9250 and not a single one 100% working (broken axis) HOT 5
- Pitch range only from -90 to 90 HOT 1
- How to increase data read rate?
- Reading ACCEL and Gyro Registers are wrong? HOT 6
- MPU9250 custom board didn‘t work HOT 4
- Alternative to MPU9250 and BNO055 HOT 9
- How can I get Ak8963 Address from MPU9250 HOT 1
- MPU9250 magnetometer not accessible by any read HOT 4
- The Magnetometer adress doesn't show up at MPU9250 with RPI3 HOT 3
- Azimuth HOT 10
- Computing Beta and Zeta Values HOT 9
- 9250 Who am I 0x75 ? HOT 5
- Sanity Check of mpu9250-derived values? Am I in the right units? HOT 19
- MPU9250 interrupt pin not working HOT 7
- Yaw values are not precise HOT 9
- Can such sensor be used for indoors inertial navigation ? HOT 1
- Calibration - figure of eight HOT 2
- Reset FIFO and DMP HOT 5
- Sensitivity Adjustment HOT 3
- Limitations/Considerations when 3D-tracking a fast rotating object for 1 second HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpu9250.