2020-02-10 4:58 AM
In my STM32 Discovery L4 board I have inertial MEMS sensors L3GD20 gyroscope and LSM303C e-compass (accelerometer+magnotemeter), all of them with different Output Data Rate, by default in BSP 95 Hz, 50 Hz, 40 Hz respectively.
In order to make a sensor fusion, how must to adjust a periodic timer to take correct samples?
Thanks in advance.
2020-02-26 2:48 AM
Hi @josan , the ideal would be to have same ODR among sensors or at least a common multiple ODR. However, please consider this statement of the standard MotionFX library for the sensor fusion (NUCLEO environment):
100 Hz is recommended. The output data rate for:
I suggest you to acquire the data at the maximum ODR (e.g. 95 Hz) and manage the duplicated values of the other sensor acquisitions discarding them during the data processing.
Regards
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.