2020-11-10 05:33 PM
I am using the LSM6DSOX built in tilt function. Currently it gives results for tilting along 3 axis. Is there a way to limit it to one axis?
Solved! Go to Solution.
2020-11-11 01:35 AM
Hi @JRick.1 ,
you are right, the tilt embedded function considers the 3-axis vector as a whole (lsm6dsox_tilt.c).
But if -for example- you mount the device such that the tilt is only along 1 axis every time, there should be no problems... Please not that the tilt is a quasi-static measure, and that is in general important to know along which axis the tilt take places, for an accurate measure.
By the way, if you are not in the condition of predetermining the axis, you could use other embedded feature that are axis-sensitive to measure the tilt. For example, you could:
-Eleon
2020-11-11 01:35 AM
Hi @JRick.1 ,
you are right, the tilt embedded function considers the 3-axis vector as a whole (lsm6dsox_tilt.c).
But if -for example- you mount the device such that the tilt is only along 1 axis every time, there should be no problems... Please not that the tilt is a quasi-static measure, and that is in general important to know along which axis the tilt take places, for an accurate measure.
By the way, if you are not in the condition of predetermining the axis, you could use other embedded feature that are axis-sensitive to measure the tilt. For example, you could:
-Eleon
2020-11-19 06:13 PM
Thanks Eleon:
I tried your suggestion of using the 6D function and this works well.
Best Regards,
Jrick.1