Yaw calculation from Accelerator, Mag, Gyro (9 inputs)

By vatatt , 30 December 2014

Hi guys
As we know about Yaw, Pitch, Roll. I have been able to calculate Pitch and Roll from Accelerator.

Now I am looking for calculation Yaw from the 9 inputs:
Accelerator_x, Accelerator_y, Accelerator_z ; Magnetometer_x, Magnetometer_y, Magnetometer_z ; Gyroscope_x, Gyroscope_y, Gyroscope_z

Thanks
PS: I tried using Magnetometer data, pitch and roll to calculate Yaw, but the result is bad. I do not know the algorithm which utilizes all the 9 inputs.

Thanks a lot
Bob

phpbb Topic ID
16857