cancel
Showing results for 
Search instead for 
Did you mean: 

motion fx library running at 100hz giving wrong orientations when the device attached to it rotates at faster speeds

kasi viswanadh
Associate II

I'm using motion fx library to get orientation of the device. I'm putting the device running sensor-fusion on a cricket bat. If I play a very fast swing, the orientations are becoming inaccurate. if I wait for some time holding bat in standstill position, orientations are coming properly .

gyroscope reaching its full scale value when I swing the bat (2000 dps)

I'm running sensor-fusion at 100 hz

using STM32L476JGY6 mcu

motion fx library version 2.0.0

please help me

Thanks

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi @kasi viswanadh​ , please consider that if you are working @100Hz and the physical movement you want to detect lasts less than 1/ODR (i.e. 10ms or less), the measure will be intrinsically inaccurate and the motion algorithm could be a little fooled. Please note from motionFX app note you can go faster than 100Hz. Could you try if for higher ODR the accuracy of the measures improves? Regards

Sson.11
Associate

There are many option to create the motion fx library with the help of your software program. You can see some detail about it.