You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I used the MPU6050_DMP6 code and it's working very well, but I have a problem, I seem to be reading relative orientation, I'm more interested in PITCH to be absolute and YAW to be relative. How can I do that? Thank you in advance!
Pitch and roll should already be absolute, since orientation is computed according to gravity. Yaw is the only one that can drift without an absolute magnetic heading reference. Do you have the IMU chip itself mounted on a PCB such that it's flat/level relative to the ground? Or is it at 90 degrees in any direction?
Well I have the MPU6050 module placed on a breadboard alongside the Pro Mini 3.3V board, but whenever I power the setup it will take it's initial position as reference, something I don't want. I have a model glider for which PITCH axis will be used only at the launch for a few seconds and then the YAW axis will be used to guide the glider to a specific direction, set by a potentiometer, I don't need the true azimuth, just a reference. Only for the PTCH axis I want absolute readings relative to earth, because on the field I can't position the glider perfectly level when powering on. I will post a link to a video to see what's happening. Thank you!
Activity
jrowberg commentedon Jan 5, 2025
Pitch and roll should already be absolute, since orientation is computed according to gravity. Yaw is the only one that can drift without an absolute magnetic heading reference. Do you have the IMU chip itself mounted on a PCB such that it's flat/level relative to the ground? Or is it at 90 degrees in any direction?
CristyRO9 commentedon Jan 5, 2025
Well I have the MPU6050 module placed on a breadboard alongside the Pro Mini 3.3V board, but whenever I power the setup it will take it's initial position as reference, something I don't want. I have a model glider for which PITCH axis will be used only at the launch for a few seconds and then the YAW axis will be used to guide the glider to a specific direction, set by a potentiometer, I don't need the true azimuth, just a reference. Only for the PTCH axis I want absolute readings relative to earth, because on the field I can't position the glider perfectly level when powering on. I will post a link to a video to see what's happening. Thank you!
CristyRO9 commentedon Jan 6, 2025
How can I read the absolute orientation regarding earth?
CristyRO9 commentedon Jan 7, 2025
Please help me... :(