2022-10-12 02:35 AM
(LSM6DSL) I want to know why raw data(angular rate) is multiplied by sensitivity.
Multiply the angular velocity(gyro raw data) by sensitivity and it becomes mdps, what exactly is mdps?
float_t lsm6dsl_from_fs500dps_to_mdps(int16_t lsb)
{
return ((float_t)lsb * 17.50f);
}
Solved! Go to Solution.
2022-10-24 09:21 AM
Hi @jjo.2 ,
"mdps" means milli degree per second, which is the measurement of an angular rate.
You need to multiply the LSB data by a specific factor because it refers to the sensitivity according to the datasheet of the mechanical element inside the sensor.
-Eleon
2022-10-24 09:21 AM
Hi @jjo.2 ,
"mdps" means milli degree per second, which is the measurement of an angular rate.
You need to multiply the LSB data by a specific factor because it refers to the sensitivity according to the datasheet of the mechanical element inside the sensor.
-Eleon
2022-10-26 06:53 PM
Thank you for your answer. One more question is, do you have a formula or example code to calculate the angle using raw data?
I also want to know if there is an example code using a complementary filter.
2022-10-26 09:05 PM
@Eleon BORLINI
Thank you for your answer. One more question is, do you have a formula or example code to calculate the angle using raw data?
I also want to know if there is an example code using a complementary filter.