DIY Mocap, Hips Issues

Hi all!! i have worked on our DIY motion capture for past few weeks, bought the parts needed and assemble it together and its went pretty well!! only for a couple of days tho :frowning: . But after doing some testing we found out that the hips rotation are very off the expectation.
here’s the video on the issue.

we got the project from this repo .

we assume the cause are either the bones, the sensors, the animGraph, or the Blueprints.

any suggestion??