Search the Community
Showing results for tags 'incline'.
Hello, I am beginning with the MPU-6050. To understand what are the data we get, I have read this topic : http://www.i2cdevlib.com/forums/topic/4-understanding-raw-values-of-accelerometer-and-gyrometer/. What I would like to do is know how tilted is the sensor in relation to the three axes. In french, we say that a "gyroscope" is used to get this, and a "gyromètre" do to get the angular velocity. Here, this sensor enables the user to read the angular velocity. Perhaps I should often read the angular velocity and try to determine the incline depending on the time... But it might be quite imprecise, mightn't it ? May you explain me how could I solve this problem ? Thank you in advance, Soaocohoa
This is a great library to work with. Thank you for putting it together. I am looking to measure the pitch of a vehicle (I'm using a bicycle). While using the DMP-6 example code, I get the pitch; which, is great under static conditions. Unfortunately, when I apply the brakes, accelerate, or just move, the pitch will increase moving forward and decrease while braking. Do you have advice on how to compensate or remove the acceleration from the IMU to get accurate values like the static condition? Thanks
I've seen a couple posts on here asking about incline. Like this one in which Jeff gives a knowing smile at the end when he says the math is beyond him: http://www.i2cdevlib.com/forums/topic/37-incline-of-the-sensor/ But then in this one says the DMP is awesome because it can do those calculations for us: http://www.i2cdevlib.com/forums/topic/29-how-to-calculate-yaw-roll-pitch-from-mpu6050/ So I'm confused as to whether or not we can already calculate pitch and roll minus any gravity affects based on the current MPU6050 library in the I2CDev package? I thought maybe OUTPUT_READABLE_YAWPITCHROLL would provide those values but they definitely seem affected by gravity when I move the sensor around. There's a note above that constant declaration that says "this also requires gravity vector calculations" but I didn't know if that meant "requires you to do them yourself" or just that a note that they are required and being performed behind the scenes. Help me Jeff, you're my only hope! Thanks for the awesome library by the way!