I am using BSP_MOTION_SENSOR_GetAxes function to acquire data (gyro+accelero) from sensortile kit. I want to know:
1- What are the output units of this data?
2- Do I need to do any processing before passing this data to MotionDI_update function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-19 10:58 AM
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-24 6:32 AM
1. The BSP_MOTION_SENSOR_GetAxes function provides ACC data in mg and GYR data in mdps.
2. These data need to be converted from mg resp. mdps to g resp. dps and you also need to provide timestamp in microseconds. You can use DI_Data_Handler function in DynamicInclinometer FW application inside X-CUBE-MEMS1 package as a reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-24 6:32 AM
1. The BSP_MOTION_SENSOR_GetAxes function provides ACC data in mg and GYR data in mdps.
2. These data need to be converted from mg resp. mdps to g resp. dps and you also need to provide timestamp in microseconds. You can use DI_Data_Handler function in DynamicInclinometer FW application inside X-CUBE-MEMS1 package as a reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-24 12:26 PM
Hi Petr,
I figured out the units of angular velocity and linear acceleration. However, I didn't know that the MotionDI_update function needed timestamp input in microseconds. I was giving input in milliseconds and hence I was getting wrong rotation. Thank you for mentioning it. Now, I am able to get the correct rotation.
