Problem with Arduino receiving data from Wiimote!!

Hello! I have found a library from USB_Host_Shield_2.0/Wii.cpp at master · felis/USB_Host_Shield_2.0 · GitHub

I am using this library to connect Arduino with Wiimote, I need to receive the data from wii motion.

The performances of pitch and roll are normal, but the yaw will drift a lot. It is very unstable.

Could anyone help me to solve this problem?