SensorFusion module drifting (yaw)
lamongne opened this issue · comments
lamongne commented
- pymetawear version: 0.11.0
- Python version: 3.6.6
- Operating System: Windows 10
Description
I have a metamotion C. My goal is to get pitch/roll/yaw rotation with the SensorFusion module. Pitch and roll are no problem, but the yaw seems to constantly drift depending on how we handle the sensor. I saw the same type of drifting in the metawear's metabase app, but I was wondering if I'm missing something to prevent this drifting from happening via pymetawear.
Thanks !
What I Did
I started with the example code you published and I get the data via:
c.sensorfusion.notifications(euler_angle_callback=handle_notification)
I also tried all SensorFusion modes, but even if IMUPlus seems more accurate, it always ends up drifting the yaw :
c.sensorfusion.set_mode(SensorFusionMode.IMU_PLUS)