2023-09-04 09:51 PM
We are new to IMU LSM6DSO.
We want to get Euler's angle form Accelerometer and Gyroscope Sensor Fusion.
We are using STM32 Nucleo-L476RG board with Sparkfun LSM6DSO board in STM32CubeIDE.
We have included STM3_MotionFX_Library in our project, but unable to find out function to get Euler's Angle from sensor fusion of Accelerometer and Gyroscpe data.
Requesting to help us to get Euler's Angle.
Thanking in advance
Manan
2023-09-04 11:46 PM
Hi @Manan ,
Have you already looked at our design tip DT0058?
If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.
2023-09-05 12:06 AM
Hello @Manan
I suggest you to write your own part of code that takes Accelerometer and Gyroscope data and return the Euler's angle after mathematical calculations.
Best regards.
II
2023-09-05 02:57 AM
Respected @Federica Bossi
Do we have any readily available function for these calculation? We are not using magnetometer.
Thanks for your early reply.
Manan
2023-09-05 02:58 AM
Respected @Issamos
Do we have mathematical expression for that? Can you please guide us.
Thanking you.
Manan
2023-09-05 03:41 AM
Those two playlists will guide you to create your application.
Best regards.
II
2023-09-05 05:03 AM
Thanks @rahulsoni2003
Thanks for your time and information.
I am very new to IMU and STM32cubeIDE. We are using STM32 Nucleo-L476RG board with Sparkfun LSM6DSO board in STM32CubeIDE. I am able to get Acceleration and Gyroscope raw data but not able to find out any function which I can use to get euler angle/quaternions.
Regards,
Manan
2023-09-05 06:56 AM
"Have you already looked at our design tip DT0058?"
Yes.
Actual source code would be more useful than making everyone of us reinvent the wheel.
2023-09-05 09:10 PM
Respected @Bob Paddock
I have come across following user manual: UM2220 (attached). This may be useful for you too.
Regards,
Manan