2020-07-08 01:41 AM
Hello.
I am using lsm6dsl to find the angle.
When I turn the yaw rotation 360 degrees at that time, I have an error on the roll and pitch.
Now, based on the angle (XY) determined by the accelerometer, I am trying to determine
We are trying to find the angle by finding XYZ of the gyro sensor in the rotation matrix and adding the angular velocity of the gyro sensor.
At that time, if I turn only the yaw side (Z) 360 degrees, I expect to get the same values for roll and pitch at 360 degrees from 0 degrees, but they will be off by tens of degrees.
Is there any problem in the calculation method?
Thank you for your help.
2020-07-09 06:48 AM
Hi @幸伸 西原 , please check if this thread (LINK) on a similar topic can be of any help for you. Regards