Extracting yaw from MPU6050

I am building a control system where my control variable is yaw angle, I bought a MPU6050 I have never used it before or any yaw sensor for that matter, how do I extract the yaw angle to put it in my control algorithm

The navigational definition of yaw requires a horizon reference (usually North), which the MPU-6050 lacks. In a 9 DOF IMU, the magnetometer provides the North reference.

For a relative yaw angle on a 6 DOF IMU, the only option is to numerically integrate the rate gyro terms, and the result will drift with time and temperature.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.