fine .. I want to calculate the yawing from the MPU6050 ... but it is drifting as it is known... so is there any code with Kalman filter that fixes this drifting if not I thought about flipping the sensor and consider my pitch or roll angle as the yaw as I have a code that makes Kalman filter but with only Pitch and Roll angles
You will find the mentioned code in the attachments and the .ino file at this directory
\Example-Sketch-for-IMU-including-Kalman-filter-master\Example-Sketch-for-IMU-including-Kalman-filter-master\IMU\MPU6050
Example-Sketch-for-IMU-including-Kalman-filter-master.rar