u/makingaquickaccountin r/embedded • Recommends
On “How to Convert Gyroscope Angular Acceleration to Angle?”
…n. Since Gyroscope gives Degrees/s that is angular velocity, so using the same logic you can sum these values up and then multiply by the sample rate. So if you sample it every 2ms, then it will be gyro\_data += gyro\_data \* dt (i.e. 2ms). Like everyone else was saying using an accelerometer is a great way to help correct error in the long run. [video this is SUPER simple filter to implement, and it explains how the gyro and the accel work together. How do you find position using accelerometer? Just like finding the angles between two vectors, you are gonna combine 2 vectors into one using the distance formula, then using arctangent (x/w) or (y/w) where w is the other two vectors combine…